我想通过查询从数据库中删除一些记录,我通过cPanel成功登录,我可以备份数据库,我可以访问所有控件,但当我点击phpmyadmin时,我得到下面的错误。
“访问被拒绝
无法建立PHP会话。
如果您认为这是错误或无意的,请与您的系统管理员联系,并要求他们检查您的服务器设置。“
任何帮助都将不胜感激。
谢谢,
致敬,MK
发布于 2016-03-31 07:19:17
我在谷歌上搜索了你的错误信息,发现cPanel论坛建议检查你的/tmp目录的权限,检查他们是否设置为1777。
另请参阅https://forums.cpanel.net/threads/unable-to-establish-a-php-session.414562/
发布于 2020-10-15 01:43:04
我的共享主机包也有同样的问题。
Access Denied
Unable to establish a PHP session.
The account must be able to write to the php session directory and must not exceed the assigned disk quota.
If you believe that this is in error or inadvertent, contact your system administrator and ask them to review your server settings.首先检查你的Cpanel
Warning: This account has reached its disk usage quota. If you need more disk space, contact your service provider. 这将像这样显示,所以您必须删除不需要的文件,清理磁盘并增加磁盘空间,然后重试,这样就可以正常工作了
快乐的编码...
发布于 2021-01-18 18:33:14
只需转到cPanel并更改其密码即可。
这将使PhpMyAdmin的密码与cPanel的新主密码同步,您将能够再次从cPanel进入PhpMyAdmin。
https://stackoverflow.com/questions/36053526
复制相似问题