Home> Database> phpMyAdmin> body text

What is the reason for not having permission to access phpmyadmin?

Release: 2019-12-13 16:36:30
Original
3128 people have browsed it

What is the reason for not having permission to access phpmyadmin?

Since port 80 was occupied when I installed wampserver, I changed the default port to 8080. Then the problem came. When I logged in to phpmyadmin, I always got the message "You don't have permission to access /phpmyadmin/ on this server." said that I do not have permission to access phpmyadmin.

Port 8080 is used for WWW proxy service, which can realize web browsing. Often when accessing a website or using a proxy server, the port number ":8080" will be added.

The reason for not having permission to access phpmyadmin: It is because phpmyadmin prohibits external network access.

Solution:

Open the httpd.conf file,

Change

# onlineoffline tag - don’t remove Order Deny,Allow Deny from all Allow from 127.0.0.1
Copy after login

to

# onlineoffline tag - don’t remove Order Allow,Deny Allow from all
Copy after login

Open XXX/ wamp/alias/phpmyadmin.conf file,

change

 Options Indexes FollowSymLinks MultiViews AllowOverride all Order Deny,Allow Deny from all Allow from 127.0.0.1 
Copy after login

to

 Options Indexes FollowSymLinks MultiViews AllowOverride all Order Deny,Allow Allow from all 
Copy after login

, save it, and then restart all Wamp services.

Recommended learning:phpmyadmin tutorial

The above is the detailed content of What is the reason for not having permission to access phpmyadmin?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!