Archive for the ‘PHPMyAdmin’ Category

While accessing PHPmyadmin in cpanel, you are getting following error

PHPMyAdmin :: Existing configuration file (./ is not readable

Solution is:

1)  Login to the server using root user

2) check the permission of the following file

root@Server[~]#ls -ld /usr/local/cpanel/base/3rdparty/phpMyAdmin/

It should be

-rw-r—– 1 root cpanelphpmyadmin 1749 Oct 11 23:06 /usr/local/cpanel/base/3rdparty/phpMyAdmin/

3) If not then change ownership and file permission to above using following commands.

chown root:cpanelphpmyadmin  /usr/local/cpanel/base/3rdparty/phpMyAdmin/
chmod 640 /usr/local/cpanel/base/3rdparty/phpMyAdmin/

That is it, you are all done. Cheers.

This is a possible issue when the path to save php_session is not correctly set :

The directory for storing session does not exists or php do not have sufficient rights to write to it.

To define the php_session directory simply add the following line to the php.ini :


And give write rights to the http server.

usually, the http server run as user daemon in group daemon. If it is the case, the following commands will make it :

chown -R :daemon /tmp/php_session

chmod -R g+wr /tmp/php_session

restart http server.

Sometimes phpMyadmin will give you following error.

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

Make the following changes.

root@server[~]#nano /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini
And than change the following values in php.ini file

session.save_handler = sqlite
session.save_path =/var/cpanel/userhomes/cpanelphpmyadmin/sessions/phpsess.sdb
session.save_handler = files
session.save_path = /tmp

Restart cpanel