I'm working on setting this up on Mac OS X Leopard. I'm having a devil of a time getting PHP5 working as fastcgi under lighttpd. I've verified that I've compiled php with fastcgi enabled. I've tried configuring lighttpd as I've seen in various documentation.
The core bit that I'm not understanding is if php-cgi is supposed to create the socket, or if lighttpd creates it.
My lighttpd config looks like this:
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 has been created.