Home  >  Article  >  Backend Development  >  PHP setup and web server troubleshooting_PHP tutorial

PHP setup and web server troubleshooting_PHP tutorial

WBOY
WBOYOriginal
2016-07-20 10:58:48856browse

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

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/445652.htmlTechArticle1. When the php page is completely inaccessible 1. Confirm whether it is a problem with php or a server problem such as iis. Method, put a static file in the directory and judge this through the browser...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn