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 | ,

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: