Home  >  Article  >  Backend Development  >  How to solve iis7 php 404 error problem

How to solve iis7 php 404 error problem

藏色散人
藏色散人Original
2020-10-08 16:51:232544browse

iis7 Solution to php 404 error: First create and check the PHP site; then copy the "web.config" from the normal running site to the new PHP site; finally restart the server.

How to solve iis7 php 404 error problem

Recommended: "PHP Video Tutorial"

Solution to 404.17 error when configuring php under iis7

There are several PHP sites built on the server, and they are all running normally. Today I created a new PHP site. The handler module configuration is the same as the others, but it just can't run. It keeps prompting a 404.17 error, and restarting the server doesn't work.

In the end, I had no choice but to copy the web.config from the normal running site to the newly created PHP site, and the problem was really solved.

I have specifically checked that the contents of web.config are the same before. I have also tried recycling the application pool, but it does not work. If it happens again next time, just delete web.config and try again.

The above is the detailed content of How to solve iis7 php 404 error problem. For more information, please follow other related articles on the PHP Chinese website!

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