PHPMYADMIN access Denied , Unable to start Php sesssion

PHPMYADMIN access Denied , Unable to start Php sesssion

phpmyadmin errorHave ever face followiing phpmyadmin error for apache cpanel .

 

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.

This error occurs mostly because of improper permission or ownership of a usr’s tmp folder . Because everytime you login to phpmyadmin user session is created in tmp folder . If your tmp folder located under username directory having wrong permission or ownership phpmyadmin can not create session and throw the above message.

How to solve the issue

if you have shell access to your webhost or server, it’s quite easy to solve it .

Login to your ssh. and run The Following two code to solve this error ,But remember to  change the  word ‘$user ‘ with your respective username .

 

 

 

468 ad

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">