In lighttpd.conf (on Debian /etc/lighttpd/lighttpd.conf) add "broken-scriptfilename": :: fastcgi.server = ( ".php" => (( "bin-path" => "/usr/bin/php5-cgi", "socket" => "/tmp/php.socket", "max-proc" => 10, "broken-scriptfilename" => "enable" ))) otherwise you will get the error saying "There has been no contact with the remote server for several minutes." after logging in on DIMP. In php.ini (on Debian /etc/php5/cgi/php.ini) enable PATH_INFO: :: cgi.fix_pathinfo=1