Home > Database > phpMyAdmin > body text

What to do if access to phpmyadmin is not allowed

藏色散人
Release: 2020-04-07 16:35:56
Original
2243 people have browsed it

What to do if access to phpmyadmin is not allowed

Access not allowedphpmyadminWhat should I do?

Solution to the problem of not having permission to access phpmyadmin

Since port 80 was occupied when I installed wampserver, I changed the default port to 8080, and then the problem came , when I log in to phpmyadmin, it always pops up "You don't have permission to access /phpmyadmin/ on this server." saying that I don't have permission to access phpmyadmin. I found a solution online and shared it.

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 the XXX/wamp/alias/phpmyadmin.conf file,

Change

<Directory "F:/Software/wamp/alias/phpmyadmin3.5.1/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
Copy after login

to

<Directory "F:/Software/wamp/apps/phpmyadmin3.5.1/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Allow from all
</Directory>
Copy after login

and save it, then restart all Wamp services.

By the way, where to change the user name and password?

Find the config.inc.php file, go in and change it. I won’t go into details, most people can understand it.

The above is the detailed content of What to do if access to phpmyadmin is not allowed. 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
Popular Tutorials
More>
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!