【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端口了!!!!

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