Home >Backend Development >PHP Problem >How to solve iis7 php 404 error problem
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.
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!