This article describes how to disable the Internet in phpmyadmin and involves modifying the configuration file. it is a very practical technique, for more information about how to disable the Internet in phpmyadmin, see the following example. Share it with you for your reference. The specific method is as follows:
First, find phpmyadmin. conf in The phpmyadmin folder.
See the following configuration section in the file:
The code is as follows:
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny, Allow
Deny from all
Allow from 127.0.0.1
Deny from all indicates that all access is prohibited, but access from 127.0.0.1 is allowed.
Then we will delete Allow from 127.0.0.1
And change Deny from all to Allow from all.
This means that access from all addresses is allowed.
Save the modified configuration file and restart the server to access it with the domain name.
Forbidden
You don't have permission to access/phpMyAdmin/index. php on this server.
In this case, open httpd. conf of apache and set
The code is as follows:
Options FollowSymLinks
AllowOverride None
Order deny, allow
Deny from all
Change
The code is as follows:
Options FollowSymLinks
AllowOverride None
Order deny, allow
Deny from None
You can.
I hope this article will help you with PHP programming.