Most tutorials do not mention anything about editing the lighttpd.conf file.
As I understand it, the following need to be modified:
The mod_fastcgi module needs to be loaded.
Code:
server.modules = (
"mod_access",
"mod_alias",
"mod_accesslog",
"mod_compress",
"mod_fastcgi",
# "mod_rewrite",
And this code needs to be added - BTW: this keeps giving me an error. And most tutorials do not mention adding anything like this.
Code:
# fastcgi
fastcgi.server = ( ".php" => ((
"bin-path" => "/usr/bin/php-cgi",
"socket" => "/tmp/php.socket"
)))