简体   繁体   English

IIS 6上具有Symfony2的FastCGI

[英]FastCGI with Symfony2 on IIS 6

I'm having problems with getting Symfony2 working with FastCGI on IIS with PHP 5.3.10 VC9 Not thread safe, every time I load the page, I get: 使用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)

I've been searching around the days and having my fast cgi configured as the following in fcgiext.ini : 我一直在搜索这些天,并在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

I have noticed that I can successfully load phpinfo but just not a symfony2 page 我注意到我可以成功加载phpinfo但不能成功加载symfony2页面

Has anyone come across this issue before? 有人遇到过这个问题吗? Or has any advice for me on what to try? 或对我有什么建议?

Thanks 谢谢

似乎是PHP 5.3.9的问题,我降级到5.3.6,现在一切都按预期运行

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM