]> git.pld-linux.org Git - packages/lighttpd.git/blame_incremental - lighttpd-php-external.conf
- updated from branch:
[packages/lighttpd.git] / lighttpd-php-external.conf
... / ...
CommitLineData
1# FastCGI server for PHP
2
3# Sometimes you need to run old html file(s) as php pages, especially if you
4# are migrating from Apache web server. To treat html pages as php you need to
5# map multiple extensions to the same fastcgi server using fastcgi.map-extensions
6# directive.
7#fastcgi.map-extensions = (
8# ".html" => ".php",
9# ".php3" => ".php",
10#)
11
12fastcgi.server += (
13 ".php" => ((
14 "socket" => "/var/run/php/fcgi.sock",
15 # we enable check-local so you can use server.error-handler-404 for php files too
16 "check-local" => "enable",
17 "disable-time" => 1,
18 ))
19)
20
21#fastcgi.server += (
22# ".php" => (
23# "local" => (
24# "host" => "127.0.0.1",
25# "port" => 1028,
26# # we enable check-local so you can use server.error-handler-404 for php files too
27# "check-local" => "enable",
28# ),
29# "slave" => (
30# "host" => "192.168.5.93",
31# "port" => 1028,
32# # we enable check-local so you can use server.error-handler-404 for php files too
33# "check-local" => "enable",
34# ),
35# ),
36#)
37
38static-file.exclude-extensions += (".php")
This page took 0.143462 seconds and 4 git commands to generate.