十步轻松搞定IIS+PHP环境搭建
突然心血来潮想着自己一直使用Apache+php的模式,想要了解一下IIS+php的模式。说起来也算是九曲十八弯吧!
第一部分:以ISAPI.dll 扩展的形式
结果按照资料上面说的我就是找不到一个isapi.dll这个东西,只有nsapi.dll,最后一查才知道:php5.3以后就不支持这种形式的搭建了。
php5.3是不能在IIS6上面通过ISAPI扩展运行的,而且在php5.3文件里面也没有php5.3isapi.dll,取而代之的是php5.3nsapi.dll,换句话说php5.3以后的版本就不再用ISAPI进行扩展在IIS里运行了,只能通过FastCGI的方式执行
第二部分:继续网上搜索了一堆的FastCGI 按照php的教程,可是我又找不到人家说的
“安装后在 C:WINDOWSsystem32inetsrv 目录下产生了五个文件。如下图”
实在是郁闷,更有趣的是,我根据一个博主的详细指导去下载“web平台安装程序”,网址:http://www.iis.net/downloads/microsoft/fastcgi-for-iis
安装时竟然提示我:
我擦、重复不下五遍,而且还在虚拟机上面测试,相同结果。最后我试着搜索了一下:FastCGI,出来了一下结果,就这样成功了,下面就贴出这十步:
1、微软提供的‘web平台安装程序’地址:http://www.iis.net/downloads/microsoft/fastcgi-for-iis
2、我这里是IIS7,点击Web PI 进入下面页面
3、点击下载下的 FastCGIIIS6.exe

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 Linux new version
SublimeText3 Linux latest version

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Notepad++7.3.1
Easy-to-use and free code editor
