PHP setup and web server troubleshooting. 1. when php pages are completely inaccessible, 1. check whether the php or iis server is faulty. Place a static file in the directory and use a browser to determine whether the file is accessible.
I. completely inaccessible php pages
1. check whether it is a php issue or a problem with servers such as iis.
Method: Place a static file in the directory and use a browser to determine whether the static file can be accessed. If you can access it, it is a php issue.
For IIS problems, there are two common cases. telnet is a powerful tool for judgment.
Linux telnet is actually better, because the echo is enabled by default. For windows, set localecho is required; otherwise, the input text cannot be seen.
1.1 firewall disables port 80
After entering telnet, enter the command, open domain name 80
For example, open
Tip 1. check whether the problem is php or iis or other server problems. Place a static file in the directory and use a browser to judge this...