【Windows Server MySQL】使用PHPMyAdmin出现Cannot start session without errors

1、参考链接:
https://blog.csdn.net/sinat_22991367/article/details/73431302
https://blog.csdn.net/djb8317/article/details/101843873
https://www.jb51.net/article/53688.htm

当使用phpMyAdmin打开数据库时候(尤其是在Windows Server系统)出现下面错误:
Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly

首先:在D:\AppServ\www的目录下建立个文件夹temp文件夹,要保证有读写权限。

其次:在php.ini找到session.save_path 这一行,设成session.save_path = "D:/AppServ/www/temp"把前面分号弄掉。

将php.ini中的session.auto_start的值改为1(启动),默认是0(禁用),
最后,是在phpmyadmin中找到,config.sample.inc.php,改成config.inc.php,找到 $cfg[‘blowfish_secret’] 将后面的赋值,加入随便的数字和字母组合。全部修改完以后,
重启iis或者apach,就可以看到熟悉的phpmyadmin的登陆界面了。

如果还不可以就要手动打开Mysql的3306端口了!!!!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章