Solution to phpmyadmin 403 Error

Source: Internet
Author: User

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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.