Home  >  Article  >  Database  >  What should I do if there is an error when accessing phpmyadmin and there is no response when entering the account and password?

What should I do if there is an error when accessing phpmyadmin and there is no response when entering the account and password?

藏色散人
藏色散人forward
2021-03-30 16:54:072514browse

The following tutorial column of phpmyadmin will introduce to you the solution to the error of accessing phpmyadmin and no response when entering the account and password. I hope it will be helpful to friends in need!

What should I do if there is an error when accessing phpmyadmin and there is no response when entering the account and password?

Access to phpmyadmin error, no response when entering the account and password

Installation 4.2.6 phpmyadmin Access error, no response when entering the account and password Response


Error code

    phpMyAdmin - Error

    Error during session start; please check your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser.

The reason is that there is no session storage mechanism file under /usr/local/php

Solution;
First check vim /etc/php.ini
Check whether session.save_path = "/usr/local/php/tmp/" is commented out. If the comment is removed; Turn on.

mkdir -p /usr/local/php/tmp/
chmod -R 777 /usr/local/php/tmp/

Restart httpd or fpm to solve the problem.

The browser is successfully accessed again.

Then go to the created directory to view the generated session content.


The above is the detailed content of What should I do if there is an error when accessing phpmyadmin and there is no response when entering the account and password?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:segmentfault.com. If there is any infringement, please contact admin@php.cn delete