phpmyadmin错误怎么办 MySQL数据库使用教程

凤凰 2021-1-19 116 1/19

phpmyadmin错误怎么办 MySQL数据库使用教程

1.phpmyadmin解决ignoring unsupported language code错误

解决办法:更换至最新版本

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.

解决办法:

首先检查vim /etc/php.ini

查看里面session.save_path = “/usr/local/php/tmp/”是否注释掉。如果注释把;去掉,开启。

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

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

还有一点一定要注意:当你改了php.ini后你需要看下/etc目录下是不是会有php.ini~这个文件,如果有记得删除!!

config.inc.php文件只需要在

$cfg[‘blowfish_secret’] = ”;这一行的分号中”加一个随机数,其他的都不需要更改。

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

将php.ini中的session.auto_start的值改为1(启动),默认是0(禁用),最后,是在phpmyadmin中找到config.sample.inc.php,改成config.inc.php,

找到 $cfg[‘blowfish_secret’] 将后面的赋值,加入数字和字母组合。全部修改完以后,重启apache,就可以看到熟悉的phpmyadmin的登陆界面了。

以上就是phpmyadmin错误怎么办的详细内容,更多请关注本站其它相关文章!

- THE END -
Tag:

凤凰

1月19日09:16

最后修改:2021年1月19日
0

非特殊说明,本博所有文章均为博主原创。