In PHP, when phpMyAdmin is opened, error 403 occurs. _ PHP Tutorial-php Tutorial

Source: Internet
Author: User
When phpMyAdmin is opened in PHP, error 403 is displayed. After wamp is installed, open phpMyAdmin, that is, the path localhostphpmyadmin, and check the code. the solution is shown as follows: after Direct is installed with wamp, open phpMyAdmin, which is the path http: // localhost/phpmyadmin/

Appears

Check the code to understand it.

The solution is as follows:

The code is as follows:

Options Indexes FollowSymLinks MultiViews

AllowOverride all

Order Deny, Allow

Deny from all

Allow from 127.0.0.1


Change it

Allow from 127.0.0.1 => Allow from all means to set 127. Replace 0.0.1 with all

OK, everything is done (restart wamp if it doesn't work)

When the problem occurs, see the code in it to understand the solution and directly map it as follows: the code is as follows: Direct...

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.