Home  >  Article  >  Database  >  What to do if phpmyadmin error occurs

What to do if phpmyadmin error occurs

尚
Original
2019-10-31 16:12:183743browse

What to do if phpmyadmin error occurs

1.phpmyadmin solves the ignoring unsupported language code error

Solution: Change to the latest version

2.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.

Solution:

First check vim /etc/php.ini

Check whether session.save_path = "/usr/local/php/tmp/" is commented out. If the comment is removed, enable it.

mkdir -p /usr/local/php/tmp/

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

One more thing must be done Note: After you change php.ini, you need to check if there is a php.ini~ file in the /etc directory. If so, remember to delete it! ! The

config.inc.php file only needs to add a random number in the semicolon of the

$cfg[‘blowfish_secret’] = “;” line, and nothing else needs to be changed.

3.Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly

Place php.ini Change the value of session.auto_start to 1 (start), the default is 0 (disable), finally, find config.sample.inc.php in phpmyadmin, change it to config.inc.php,

found $cfg['blowfish_secret'] adds a combination of numbers and letters to the subsequent assignment. After all modifications are completed, restart apache and you will see the familiar phpmyadmin login interface.

The above is the detailed content of What to do if phpmyadmin error occurs. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn