connect to FastCGI backends for generating response content connect to FastCGI backend socket to connect to, either "ip:port" or "unix:/path" Don't confuse FastCGI with CGI! Not all CGI backends can be used as FastCGI backends (but you can use "fcgi-cgi":https://redmine.lighttpd.net/projects/fcgi-cgi/wiki to run CGI backends with lighttpd2). fastcgi "127.0.0.1:9090" Start php for example with spawn-fcgi: @spawn-fcgi -n -s /var/run/lighttpd2/php.sock -- /usr/bin/php5-cgi@ setup { module_load "mod_fastcgi"; } if phys.path =$ ".php" and phys.is_file { fastcgi "unix:/var/run/lighttpd2/php.sock"; }