Home > Article > Backend Development > Ten easy steps to build IIS PHP environment_PHP tutorial
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