1 php下载
fastcgi 选择 VC9 x86 Non Thread Safe
isapi 选择 VC9 x86 Thread Safe
2 fastcgi下载
3 安装目录 C:\WINDOWS\system32\inetsrv
fcgiext.dll
fcgiconfig.js
- cscript fcgiconfig.js -add -section:"PHP" -extension:php -path:"C:\PHP\php-cgi.exe"
- cscript fcgiconfig.js -add -section:"PHP" -extension:php -path:"C:\PHP\php-cgi.exe" –site:1
fcgiext.ini
- [Types]
- php=PHP
- [PHP]
- ExePath=C:\PHP\php-cgi.exe
- InstanceMaxRequests=10000
- ActivityTimeout=600
- RequestTimeout=600
- EnvironmentVars=PHP_FCGI_MAX_REQUESTS:10000,PHPRC:C:\PHP\
4 php.ini
- default_socket_timeout = 60
- upload_tmp_dir="C:\WINDOWS\Temp"
- session.save_path="C:\WINDOWS\Temp"
- error_log="C:\WINDOWS\temp\php-errors.log"
- cgi.force_redirect=0
- fastcgi.impersonate=1
- fastcgi.logging=0
- extension_dir="C:\PHP\ext"
http://www.cnblogs.com/zengxiangzhan/archive/2010/03/05/1679286.html
http://www.discuz.net/thread-959022-1-1.html
end
阅读(1334) | 评论(0) | 转发(0) |