標(biāo)題: 64位server 2003安裝FastCGI & PHP的注意事項 [打印本頁]

作者: liuda    時間: 2015-1-22 23:38
標(biāo)題: 64位server 2003安裝FastCGI & PHP的注意事項
版本定義:
操作系統(tǒng):Server2003 R2 Standard x64 Edition SP2
IIS版本: IIS6.0
FastCGI版本: FastCGI 1.5 x64
PHP版本:PHP5.3.27

之前安裝一直遇到FastCGI提示無法在fcgiext.ini中無法找到php定義,下面描述我的處理方法:

1.停止iis服務(wù)
2.啟用IIS 32位運(yùn)行模式
    cmd中鍵入以下命令:
    cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1
2.修改 ASP.NET v4.0.30319,使其運(yùn)行于32位模式。
%SYSTEMROOT%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i
3.FastCGI記得要使用64位的版本(包括配置.php的驅(qū)動位置都需要設(shè)置到64位模式)
4. 重新啟動IIS





歡迎光臨 (http://www.torrancerestoration.com/bbs/) Powered by Discuz! X3.1