Phpmyadmin Access Denied

q8hma

Registered
Jan 14, 2015
3
0
76
Bayan, Kuwait
cPanel Access Level
Root Administrator
Hello

I have problem when i open phpmyadmin from cpanel i got
HTML:
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.52.2.4 Server at

I've checked:

session.save_path (yes the correct one)
tmp (yes the correct one)
tmp user home (yes the correct one)

It affects all accounts on the server. I've changed account passwords. Nothing.

Any ideas?

and i try to
update phpmyadmin --force (try it not work)
Upgrade cpanel but not work stop on 86%
 
Last edited by a moderator:

SysSachin

Well-Known Member
Aug 23, 2015
604
48
28
India
cPanel Access Level
Root Administrator
Twitter

q8hma

Registered
Jan 14, 2015
3
0
76
Bayan, Kuwait
cPanel Access Level
Root Administrator
Hi,

The error means issue with /tmp permission.

Please check this related post :

Unable to establish a PHP session
Hello thnx for ur reply but still not work with me

i change both tmp file on home/user and the main one
now i try and when i click on phpmyadmin on cpanel it loop refresh and not go to "/3rdparty/phpMyAdmin/index.php"
but when i add it to url it show same msg in post

thnx
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,216
463
Upgrade cpanel but not work stop on 86%
Hello :)

Could you elaborate on this? Does the "/scripts/upcp --force" command complete successfully?

Thank you.
 

support_host

Registered
Feb 12, 2016
1
0
1
India
cPanel Access Level
Root Administrator
Check the permission and ownership of tmp folder in the location /home/user , where ‘user’ is the cpanel username.

>>[email protected] [/home/user]# ls -la | grep tmp
drwx—— 8 root root 4096 Jun 1 2012 tmp/
>> The permission of tmp folder should be 755.
>>[email protected] [/home/user]# chmod 755 tmp
>>The ownership of tmp folder should be username.
[email protected] [/home/user]# chown user. tmp

This should fix the issue for you.

In case, if you won’t find directory named tmp in the location /home/user , make a directory tmp as
below:
[email protected] [/home/user]# mkdir tmp
[email protected] [/home/user]# chmod 755 tmp
[email protected] [/home/user]# chown user. tmp

Also
Check to verify the account is

>> not at it’s disk space limit :)

- Removed -
 
Last edited by a moderator: