When using php, The phpmyadmin 403 error occurs: phpmyadmin 403 You don't have permission to access/phpmyadmin/on this server. How can this problem be solved? This article describes how to solve these problems.
Solution:
Viewing the information on the Internet said it was a problem with selinux, so I turned it off but it still didn't work. There is also a saying that the permissions assigned by selinux to httpd are related to permissions.
Perform the following operations:
1. Modify permissions
2. modify the permissions of phpmyadmin to obtain the permissions that selinux assigns to httpd. However, the preceding operations are useless.
3. Add the following content to the http. conf file:
<Directory "/usr/share/phpmyadmin/"> AllowOverride None Order allow, deny Allow from all </Directory> .............. service httpd restart
Then, the httpd service can be started successfully and the problem is solved.
This article describes how to solve the phpmyadmin 403 error!