UnixServerAdmin

Server Administration & Management

PHPMyAdmin – Existing configuration file (./config.inc.php) is not readable

Accessing PhpMyAdmin from cpanel I get error

PHPMyAdmin :: Existing configuration file (./config.inc.php) is not readable

1) SSH to server as root

2) check permission for file

# ls -ld /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php

It should be

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

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

# chown root:cpanelphpmyadmin  /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php

# chmod 640 /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php

4) Thats it, you are all done.

Advertisements

February 10, 2011 Posted by | PHP | , | Leave a comment