First, find phpmyadmin.conf in the phpmyadmin folder. You can see the following configuration in the file:
FoundDeny from all
means deny all access, but allow access from 127.0.0.1.
Then, deleteAllow from 127.0.0.1
, and change Deny from all toAllow 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.
Open the httpd.conf file of apache and modify
to:
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!