Troubleshooting PHP Warning “Permission denied /var/cpanel/php/sessions/ea-php56/”

Once I updated EasyApache 3 to EasyApache 4 in cPanel and noticed in the PHP logs the following: The warning occurs because PHP can not write session files to a directory to which it does not have access rights. I looked at the rights of this directory, the group and owner was root, and it […]

The solution of the error “PDOException “could not find driver””

I noticed somehow the following error: PDOException “could not find driver” The reason may be not activated pdo_mysql or not installed php5-mysql. Let’s look at the PDO: In php.ini or connected configuration files there should be a line: Let’s see the information about php5-mysql: If not installed, then install, in Ubuntu it can be done […]