Home > Database > phpMyAdmin > How to set phpmyadmin to prohibit external network access

How to set phpmyadmin to prohibit external network access

王林
Release: 2019-12-28 13:38:36
Original
3559 people have browsed it

How to set phpmyadmin to prohibit external network access

First, find phpmyadmin.conf in the phpmyadmin folder. You can see the following configuration in the file:

How to set phpmyadmin to prohibit external network access

Found Deny from all means deny all access, but allow access from 127.0.0.1.

Then, delete Allow from 127.0.0.1, and change Deny from all to Allow from all, which means allowing access from all addresses.

Finally, save the modified configuration file and restart the server.

If the following problem occurs:

Forbidden
You don't have permission to access /phpMyAdmin/index.php on this server.
Copy after login

Open the httpd.conf file of apache and modify

How to set phpmyadmin to prohibit external network access

to:

How to set phpmyadmin to prohibit external network access

Finish!

Recommended related articles and tutorials: phpmyadmin tutorial

The above is the detailed content of How to set phpmyadmin to prohibit external network access. 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