Sample Header Ad - 728x90

CentOs 8 Stream phpMyAdmin - "Access denied" when accessing via browser

1 vote
0 answers
1115 views
after fresh install of phpMyAdmin on CentOS 8 Stream I've got problem with "Access Denied". There isn't more than only simple text. Console of browser says: Failed to load resource: the server responded with a status of 403 (Forbidden) The /var/log/httpd/error_log : [Mon Apr 04 15:08:21.674947 2022] [proxy_fcgi:error] [pid XXX] [client XXX] AH01071: Got error 'Unable to open primary script: /var/www/html/phpmyadmin/index.php (Permission denied)' I've installed it at /var/www/html/phpmyadmin. Nothing special has done. Configured phpmyadmin.conf at /etc/httpd/conf.d like: Alias /phpmyadmin /var/www/html/phpmyadmin AddDefaultCharset UTF-8 # Apache 2.4 Require all granted # Apache 2.2 Order Deny,Allow Deny from All Allow from 127.0.0.1 Allow from ::1 # Apache 2.4 Require all granted # Apache 2.2 Order Deny,Allow Deny from All Allow from 127.0.0.1 Allow from ::1 Also granted to apache: [root@machine html]$ ll -a total 4 drwxrwxrwx. 3 root root 24 Aug 3 2021 . drwxr-xr-x. 5 root root 63 Feb 1 11:53 .. drwxr-xr-x. 13 apache apache 4096 Mar 3 2022 phpmyadmin I haven't done nothing more. Does someone has an idea?
Asked by kalview (111 rep)
Apr 4, 2022, 01:19 PM
Last activity: Apr 4, 2022, 01:27 PM