The solution to the 403 error when opening phpMyAdmin under PHP: first find the [alias directory] file in the apache folder; then open the code file [http://localhost/phpmyadmin]; finally change [127.0.0.1 】Change to all.
[Related learning recommendations: php programming (video)]
Open under PHP The solution to the 403 error in phpMyAdmin:
Look at the code inside and you will understand it
The solution is directly posted as follows:
The code is as follows:
<Directory "c:/wamp/apps/phpmyadmin3.5.1/"> Options Indexes FollowSymLinks MultiViews AllowOverride all Order Deny,Allow Deny from all Allow from 127.0.0.1 </Directory>
Change it to
Allow from 127.0.0.1 => Allow from all That is, replace 127.0.0.1
with all
OK, everything is done (if it doesn’t work, restart wamp)
Related learning recommendations: Programming video
The above is the detailed content of What to do if a 403 error occurs when opening phpMyAdmin under PHP. For more information, please follow other related articles on the PHP Chinese website!