Forbidden problem: You don't have permission to acess/on this server.
The reason for this problem is that the default configuration in Apache's http.conf is:
1
2
3 4
|
# onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
Only allow access to 127.0.0.1, click the wampserver icon, and then click Put online. The above default configuration in http.conf is automatically modified to
1
2
3
|
# onlineoffline tag - Don't remove
Order Allow,Deny
Allow from all
Now localhost can be accessed.
The above introduces the WebServer installation call, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.