看这里有句话:
http://www.php.net/downloads.php
(CGI only, MySQL support built-in, packaged as Windows installer to install and configure PHP, and automatically configure IIS, PWS and Xitami, with manual configuration for other servers. N.B. no external extensions included)
明白了吧?
http://www.php.net/downloads.php
(CGI only, MySQL support built-in, packaged as Windows installer to install and configure PHP, and automatically configure IIS, PWS and Xitami, with manual configuration for other servers. N.B. no external extensions included)
明白了吧?
1、将PHP包解压缩到目标盘,设定目录为C:\PHP<
2、将其中的php.ini-dist复制到c:\windows下,并改名为php.ini
3、编辑php.ini,将extension_dir的值修改为C:\PHP\extensions
添加 cgi.force_redirect = 0
修改 browscap = c:/windows/system/inetsrv/browscap.ini
4、编辑sapi\pws-php4isapi.reg,将其中"[PUT PATH HERE]"修改为"C:\\php\\sapi"
5、编辑sapi\pws-php4icgi.reg,将其中"[PUT PATH HERE]"修改为"C:\\php"
6、将pws-php4isapi.reg、pws-php4icgi.reg之一合并到注册表中
7、将php4ts.dll复制到c:\windows\system下
browscap.ini复制到c:/windows/system/inetsrv/