Home  >  Article  >  Backend Development  >  What happens if I can't run php scripts after building a website in iis6?

What happens if I can't run php scripts after building a website in iis6?

零下一度
零下一度Original
2017-06-23 14:27:261372browse

I have moved more than a dozen websites. The old website was created with Western Digital Website Builder. Now it has expired and cannot be created anymore. I can only create the website in the Internet Information Services (IIS) Manager. There is no problem in creating it, but Just can't open the website.

The test can open txt documents and static pages. As soon as the php file is opened, it hangs directly and cannot be opened. No error is reported.

I have created websites using servers other than iis6 before, and they can be run directly after being created.

It’s hard to find the problem without reporting an error, and Baidu won’t be able to use other people’s methods. I really had no choice but to put down my arrogance and look at the website configurations that I had previously created with the Website Builder Assistant. I found that the ISAPI extension configuration information of the website created with the Website Builder Assistant was different.

The configuration information of the old website created by the website building assistant is:

The configuration information of the website I created manually is:

(I added it when taking the screenshot)

Without the executable path of PHP FastCGI, I copied the configuration information and the website started running in minutes.

My blog: The php script cannot be run after manually creating the website in iis6

The above is the detailed content of What happens if I can't run php scripts after building a website in iis6?. 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