Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: PHPMyAdmin :: Existing configuration file (./config.inc.php) is not readable  (Read 2630 times)

0 Members and 1 Guest are viewing this topic.

Haripriya H

  • Guest
While trying to access phpmyadmin on WHM if you get following

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

FollowFollowing steps to correct the error:

1) Login to the server as root.

2) Go to the directory /usr/local/cpanel/base/3rdparty/phpMyAdmin.

[root@server~]# cd /usr/local/cpanel/base/3rdparty/phpMyAdmin

3) Check the ownership of the file config.inc.php. Check if the ownership of the file is assigned to
root:cpanelphpmyadmin.

[root@server phpMyAdmin]# ls -l config.inc.php

-rw-r—–  1 root root   2409 May 25 11:18 config.inc.php

4) If the ownership is not proper set it to root:cpanelphpmyadmin.

[root@server phpMyAdmin]# chown root:cpanelphpmyadmin config.inc.php

5) Just restart the cpanel and mysql service on the server.


This should sort the issue now  :) :)