# HG changeset patch # User Pascal Bellard # Date 1220626221 0 # Node ID a65b8677018aa5b03e3ec435b089a1f2321c32ab # Parent bd076f4e6d8bcf05d762a5e68c9c0a7fc3ad9188 php: .php3 .php4 .php5 support diff -r bd076f4e6d8b -r a65b8677018a php/receipt --- a/php/receipt Fri Sep 05 14:32:17 2008 +0000 +++ b/php/receipt Fri Sep 05 14:50:21 2008 +0000 @@ -87,6 +87,9 @@ grep -q mod_fastcgi $1/etc/lighttpd/lighttpd.conf || \ sed -e 's|server.modules = (|server.modules = (\n "mod_fastcgi",|' \ -i $1/etc/lighttpd/lighttpd.conf + grep -q php3 $1/etc/lighttpd/lighttpd.conf || \ + sed -e 's|for PHP|for PHP\nfastcgi.map-extensions = ( ".php3" => ".php", ".php4" => ".php", ".php5" => ".php" )|' + fi # Start Web server. if [ -z "$1" -a ! -f "/var/run/lighttpd.pid" ]; then