503 - Service Not Available - Installing Lighttpd With PHP5 (PHP-FPM) And MySQL

Discussion in 'HOWTO-Related Questions' started by denbert, Feb 21, 2013.

  1. denbert

    denbert New Member

  2. denbert

    denbert New Member

    Solved

    Solved the case - As there is some difference between 12.10 and 12.04 - correct code in 15-fastcgi-php.conf is:

    Code:
    # /usr/share/doc/lighttpd-doc/fastcgi.txt.gz
    # http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ConfigurationOptions#mod_fastcgi-fastcgi
    
    ## Start an FastCGI server for php (needs the php5-cgi package)
    fastcgi.server += ( ".php" =>
            ((
                    "host" => "127.0.0.1",
                    "port" => "9000",
                    "broken-scriptfilename" => "enable"
            ))
    )
    
    And the php is working :D
     

Share This Page