Sample Header Ad - 728x90

Cannot load PHPMyAdmin page after install on Red Hat Linux 9.4 using dnf

-1 votes
1 answer
44 views
I installed PHPMyAdmin on a Red Hat 9 server using dnf. I am using PHP 8.3.22 and Apache 2.4.62 (Red Hat Enterprise Linux). The following is listed in my /etc/httpd/conf.d/phpMyAdmin.conf file: Alias /phpMyAdmin /usr/share/phpMyAdmin Alias /phpmyadmin /usr/share/phpMyAdmin Require all granted When I try to access /phpMyAdmin from a web browser, I get the following error: "Forbidden You don't have permission to access this resource." How do I fix this? I should be getting a login page. ETA: The apache user has execute permissions on /usr/share/phpMyAdmin/ and all its parents, so I assume permissions are not the issue. Running the command getenforce returns Permissive, so I assume SELinux is not the issue. ETA2: I changed my /etc/httpd/conf.d/phpMyAdmin.conf file's Directory section to the following and did service httpd restart: Options FollowSymlinks AllowOverride None Require all granted
Asked by MrSnrub (235 rep)
Jun 27, 2025, 01:01 PM
Last activity: Jul 11, 2025, 11:06 AM