When I tried to log in to phpMyAdmin using Apache 2.4 I received a 403 error, in the logs the following message:
client denied by server configuration: /usr/share/phpMyAdmin/
The reason is that the configuration for Apache version 2.2
Solution:
Open the configuration file:
vim /etc/httpd/conf.d/phpMyAdmin.conf
And we change this part:
<Directory /usr/share/phpMyAdmin/> AddDefaultCharset UTF-8
To the following:
<Directory /usr/share/phpMyAdmin/> AddDefaultCharset UTF-8 Options Indexes FollowSymLinks MultiViews DirectoryIndex index.php AllowOverride all Require all granted
Restart the httpd service:
<Directory /usr/share/phpMyAdmin/> systemctl restart httpd