Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.

From CPanelDirect

Jump to: navigation, search

I came across the following error in WHM today, which was

Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.

A search in google said check if /tmp was full, this was not the case. The permissions were also set to 1777 on /tmp.

After looking around I found cpanel no longer uses /tmp for phpmyadmin, but instead the homedir of the user. PHPmyadmin now runs unser user cpanel-phpmyadmin

My solution was running

cd /var/cpanel/userhomes
chown cpanel-phpmyadmin:cpanel-phpmyadmin -R cpanel-phpmyadmin

The permissions were not set correctly on this folder. /var/cpanel/userhomes/cpanel-phpmyadmin/tmp should be set to 700

Personal tools