phpMyAdmin登录出错Unable to establish a PHP session 打印

  • 1

从cPanel空间面板里面“phpMy 管理”那里登录phpMyAdmin时出现下面这个错误信息:

Access Denied

Unable to establish a PHP session.

If you believe that this is in error or inadvertent, contact your system 
administrator and ask them to review your server settings.

cpaneld/11.44.3.4 Server at xxx.wphostz.com

出现这个问题,是因为phpMyAdmin的session文件无法保存,一般是因为空间根目录下面的tmp这个文件夹被删除了。如果您遇到这个问题,请检查下您空间根目录里面是否有tmp这个文件夹,如果没有tmp这个文件夹,您自己新建一个就可以解决问题了。如果有这个文件夹,则看下这个文件夹的权限是否设置正确了,不要设置0777的权限,设置为0755就可以了。

本教程由“王牌互联”编写,专业美国虚拟主机服务商,美国Linux网站空间第一品牌!


这篇文章对您有帮助吗?

« 返回

Powered by WHMCompleteSolution