All pastes #171117 Raw Edit

Untitled

public text v1 · immutable
·published 2006-09-15 01:37 UTC
rendered paste body
Configuration ¶

Add this line:

cgi.fix_pathinfo = 1

to your php.ini.

And make sure mod_fastcgi is loaded in your lighttpd.conf:

server.modules = (
                   "mod_fastcgi",
                 )

Then add this basic section to the same file:

fastcgi.server = ( ".php" => (( 
                     "bin-path" => "/path/to/php-cgi",
                     "socket" => "/tmp/php.socket",
                 )))