I am working on setting this up on Mac OS X Leopard. I have a hell of a time when PHP5 works like fastcgi under lighttpd. I checked that I compiled php with fastcgi enabled. I tried to configure lighttpd, as I saw in various docs.
The kernel that I do not understand is that php-cgi must create a socket, or if lighttpd creates it.
My lighttpd configuration is as follows:
fastcgi.server = ( ".php" =>
( "localhost" =>
(
"socket" => "/var/run/php-fastcgi.socket",
"bin-path" => "/usr/local/php/bin/php-cgi"
)
)
)
When I check / var / run / no php-fastcgi.socket was created.
source
share