How to solve iis7 php 404 error problem

藏色散人
Release: 2023-03-06 14:28:02
Original
2604 people have browsed it

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!

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template