简体   繁体   中英

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:

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 :

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

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,现在一切都按预期运行

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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