From LedHed's Wiki
Revision as of 04:24, 2 August 2014 by Ledhed (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

If you want to enable lighttpd to use PHP then you need to turn on fastcgi.

  1. edit the /usr/local/etc/lighttpd/conf.d/fastcgi.conf and add the following:
fastcgi.server = ( ".php" =>
        ( "localhost" =>
                (
                        "socket" => "/var/run/lighttpd/sockets/php-fastcgi.socket",
                        "bin-path" => "/usr/local/bin/php-cgi"
                )
        )
)