Each user on the server has a tmp directory. Due to write permission issues or other errors in this directory, you may encounter an error like the following when trying
to log into 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.46.0.19
Server atTo resolve this error, the following steps related to the user’s tmp directory will be sufficient.
1- Log into the server via SSH.
2- Check the ownership of the /home/$user/tmp directory. If such a directory
does not exist,
mkdir tmp
chown username:username /home/$user/tmp
create the directory with these commands and finally grant permissions with the following command.
chmod 755 /home/$user/tmp
Leave a Comment
* Your comment will be published after approval.
Comments
0No comments yet. Be the first to comment!