Phpmyadmin internal server error since 1.9.2

Since v1.9.2, accessing phpMyAdmin keeps returning internal server error. Upon checking the server domain error log, we are getting the following:

[Fri Feb 07 02:47:33.073477 2025] [proxy:error] [pid 2093261:tid 2093265] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (127.0.0.1:9000) failed
[Fri Feb 07 02:47:33.073570 2025] [proxy_fcgi:error] [pid 2093261:tid 2093265] [client REDACTED:0] AH01079: failed to make connection to backend: 127.0.0.1

What could be the cause of this issue?

This is my custom phpmyadmin.inc

# phpMyAdmin default Apache configuration

Alias /phpmyadmin /usr/share/phpmyadmin

<Directory /usr/share/phpmyadmin>
        Options FollowSymLinks
        DirectoryIndex index.php
    <IfModule mpm_event_module>
        # Use www.conf instead
        <FilesMatch \.php$>
            SetHandler "proxy:fcgi://127.0.0.1:9000"
        </FilesMatch>
    </IfModule>
</Directory>

# Disallow web access to directories that don't need it
<Directory /usr/share/phpmyadmin/libraries>
    Order Deny,Allow
    Deny from All
</Directory>
<Directory /usr/share/phpmyadmin/setup>
    Order Deny,Allow
    Deny from All
</Directory>
<Directory /usr/share/phpmyadmin/sql>
    Order Deny,Allow
    Deny from All
</Directory>
<Directory /usr/share/phpmyadmin/vendor>
    Order Deny,Allow
    Deny from All
</Directory>
<Directory /usr/share/phpmyadmin/templates>
    Order Deny,Allow
    Deny from All
</Directory>
<Directory /usr/share/phpmyadmin/locale>
    Order Deny,Allow
    Deny from All
</Directory>

I manually update my server domain config so the /phpmyadmin is only accessible via server domain.

Replace the event part with:

<IfModule mpm_event_module>
    # Use www.conf instead
    <FilesMatch \.php$>
         SetHandler "proxy:unix:/run/php/www.sock|fcgi://localhost"
    </FilesMatch>
</IfModule>
1 Like

thank you!

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