Home > Article > Backend Development > PHP setup and web server troubleshooting_PHP tutorial
1. The php page is completely inaccessible
1. Confirm whether it is a problem with php or with servers such as iis
The judgment method is to place a static file in the directory and use the browser to determine whether the static file can be accessed. If it can be accessed, it is a php problem.
If it is an IIS problem, there are two common situations. A useful tool for judgment is telnet.
Linux telnet is actually easier to use because echo is turned on by default. For windows, you need to use set localecho, otherwise you will not be able to see the entered text
1.1 Firewall prohibits port 80
After entering telnet, enter the command, open domain name 80
For example: open