Using FastCGI for PHP on Mac OS X
Posted
by
DanieL
on Server Fault
See other posts from Server Fault
or by DanieL
Published on 2011-06-30T22:09:20Z
Indexed on
2011/07/01
0:23 UTC
Read the original article
Hit count: 332
I have apache2 running on a Mac OS X (10.6) machine, and it is currently serving PHP pages fine, using php5_module
but I would like to configure fastcgi_module
to handle the php pages.
I have tried using the configuration found on www.fastcgi.com but I get the following error:
[warn] FastCGI: (dynamic) server "/Path/to/script.php" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
[warn] FastCGI: server "/usr/bin/php" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
I'm thinking this is because PHP has not been compiled with FastCGI, but seeing as it came with Mac OS X i'm not sure how to recompile it. Is this the problem? And if so, how do I recompile PHP with FastCGI?
© Server Fault or respective owner