Home  >  Article  >  Backend Development  >  Ten easy steps to build IIS PHP environment_PHP tutorial

Ten easy steps to build IIS PHP environment_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 09:48:44973browse

Easily build IIS PHP environment in ten steps

Suddenly, on a whim, I thought about the Apache php mode I have been using, and wanted to know about the IIS php mode. Speaking of which, it can be regarded as nine twists and turns!

Part One: In the form of ISAPI.dll extension

As a result, according to what the information said, I couldn’t find an isapi.dll, only nsapi.dll. After a final check, I found out: php5.3 does not support this form of construction.

php5.3 cannot run through the ISAPI extension on IIS6, and there is no php5.3isapi.dll in the php5.3 file. It is replaced by php5.3nsapi.dll. In other words, the version after php5.3 ISAPI is no longer used to extend and run in IIS, it can only be executed through FastCGI

Part 2: I continued to search a lot of FastCGI online and followed the php tutorials, but I couldn’t find what they said

"After installation, five files were generated in the C: WINDOWSsystem32inetsrv directory. As shown below"

It’s really depressing. What’s more interesting is that I downloaded the “web platform installer” according to the detailed instructions of a blogger. The URL is: http://www.iis.net/downloads/microsoft/fastcgi-for-iis

When installing, I was prompted:

I wiped and repeated it no less than five times, and also tested it on a virtual machine, with the same result. Finally, I tried to search: FastCGI, and the results came out. It was successful. Here are the ten steps:

1. The ‘web platform installer’ address provided by Microsoft: http://www.iis.net/downloads/microsoft/fastcgi-for-iis

2. This is IIS7, click Web PI to enter the following page

3. Click to download FastCGIIIS6.exe

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1022066.htmlTechArticleTen easy steps to build an IIS PHP environment. Suddenly, on a whim, I thought about the mode that I have been using Apache php, and I want to know more about it. IIS php mode. Speaking of which, it can be regarded as nine twists and turns! First...
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