[英]FastCGI with Symfony2 on IIS 6
使用Symfony2在PHP 5.3.10 VC9上的IIS上使用FastCGI時遇到問題,我不是線程安全的,每次加載頁面時,都會得到:
FastCGI Error
The FastCGI Handler was unable to process the request.
Error Details:
The FastCGI process exited unexpectedly
Error Number: -2147467259 (0x80004005).
Error Description: Unspecified error
HTTP Error 500 - Server Error.
Internet Information Services (IIS)
我一直在搜索這些天,並在fcgiext.ini
中將我的快速cgi配置如下:
EnvironmentVars=PHP_FCGI_MAX_REQUESTS:50000
ExePath=C:\path\to\php-cgi.exe
Arguments=-c "C:\path\to\php.ini"
IdleTimeout=9000000
ActivityTimeout=900000
RequestTimeout=900000
InstanceMaxRequests=50000
我注意到我可以成功加載phpinfo
但不能成功加載symfony2頁面
有人遇到過這個問題嗎? 或對我有什么建議?
謝謝
似乎是PHP 5.3.9的問題,我降級到5.3.6,現在一切都按預期運行
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.