Error "unable to establish a php session" in cPanel PhpMyAdmin.

Error "unable to establish a php session" in cPanel PhpMyAdmin.

Have you ever faced this error while accessing PhpMyAdmin in cPanlel ?
"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."

Well, we have the solution for this error with us. But first we have to understand why you get this error ? This happen when the permission or ownership of the tmp folder is wrong or tmp folder is not present in your home directory.
To resolve it, make sure the presence of tmp folder under your home directory and check ownership of tmp folder, it should set to "username" and permission as 755.

You can do this through cPanel or SSH.

1). To change permission of your tmp folder :
------
# chmod 755 /home/username/tmp
------

2). To change ownership of your tmp folder :
------
# chown user:user /home/username/tmp
------

"username" is username of the account.
Author
bhawanisingh
Views
2,606
First release
Last update
Rating
0.00 star(s) 0 ratings
Top