Access Denied. Unable to establish a PHP session.

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.

Solution :-

1. '/tmp' directory is not present - '/tmp' directory under cPanel >> File Manager >> /home/$user is not present.

2. Incorrect ownership of /home/$user/tmp folder. Set ownership as $user.
# chown $user. /home/$user/tmp

3. Incorrect Permission- Set permission of the tmp folder to 755.
#chmod 755 /home/$user/tmp

Note :- Make sure to replace $user with your account's username.

Secondly, if there is no issue please check it over disk usage.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Fix PHP Error: Allowed Memory Size of X Bytes Exhausted

If you are getting an error such as "Allowed memory size of... in file...

How to Create a User-friendly URL Using htaccess

If your website is using a long URL such as example.com/files/folder/sitemap.html, you can change...

How to Redirect a Page or Website Using htaccess

If a page on your website no longer exists and you want to redirect it to a new page or website,...

A fatal error has occurred Cannot write to cache directory /tmp

While accessing WebMail client I was getting an error as below - A fatal error has occurred...

Error: The Websocket handshake failed

Error: The Websocket handshake failed   This error can occur for several reasons, all of which...

Powered by WHMCompleteSolution