phpMyAdmin - Error Existing configuration file (/etc/phpmyadmin/config.inc.php) is not readable

I can not access PHPMyAdmin

These are the output of these commands:

ls -la /etc/phpmyadmin/
total 16
drwxr-xr-x   3 root hestiamail 4096 Apr  1 19:56 .
drwxr-xr-x 103 root root       4096 Apr  2 19:35 ..
drwxr-x---   2 root hestiamail 4096 Apr  1 19:56 conf.d
-rw-r-----   1 root hestiamail  980 Apr  1 19:56 config.inc.php
dwdk@cp:~$ grep hestiamail /etc/{passwd,group}
/etc/passwd:hestiamail:x:1001:1001:[email protected]:/home/hestiamail:/bin/sh
/etc/group:hestiamail:x:1001:
dwdk@cp:~$ grep -r hestiamail /etc/php/
/etc/php/8.3/fpm/pool.d/dummy.conf:listen.owner = hestiamail
/etc/php/8.3/fpm/pool.d/dummy.conf:;"hestiamail" user created to prevent users from abusing this config
/etc/php/8.3/fpm/pool.d/dummy.conf:user = hestiamail
/etc/php/8.2/fpm/pool.d/dummy.conf:listen.owner = hestiamail
/etc/php/8.2/fpm/pool.d/dummy.conf:;"hestiamail" user created to prevent users from abusing this config
/etc/php/8.2/fpm/pool.d/dummy.conf:user = hestiamail
/etc/php/8.2/fpm/pool.d/www.conf:;"hestiamail" user created to prevent users from abusing this config
/etc/php/8.2/fpm/pool.d/www.conf:user = hestiamail
dwdk@cp:~$ ls -ld /usr/share/phpmyadmin/tmp/
drwxrwx--- 2 root hestiamail 4096 Apr  1 19:56 /usr/share/phpmyadmin/tmp/
dwdk@cp:~$ ls -ld /var/lib/roundcube/
drwxr-xr-x 11 root hestiamail 4096 Apr  1 19:56 /var/lib/roundcube/

Please Help!

I have exactly the same problem and everything you show is exactly the same as what I get.

so I sit and wait…

Please see if you can access webmail, because I can’t either.

As root execute these commands:

chown -R root:www-data /etc/phpmyadmin/
chown -R hestiamail:www-data /usr/share/phpmyadmin/tmp/
3 Likes

Look at this solution, it works perfectly…
Just run these 2 lines as root and everything will be fixed

chown -R root:www-data /etc/phpmyadmin/
chown -R hestiamail:www-data /usr/share/phpmyadmin/tmp/

1 Like

wow, you beat me by seconds :slight_smile:

1 Like

Your help is also very useful. Thanks a lot.

It also worked for me.
Gracias!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.