diff --git a/build/make/lighttpd-php.mk b/build/make/lighttpd-php.mk index 1e598f5..37ae70f 100644 --- a/build/make/lighttpd-php.mk +++ b/build/make/lighttpd-php.mk @@ -1,3 +1,2 @@ lighttpd-php: php lighttpd - $(call script,$@) - $(call boot,02,$@) \ No newline at end of file + $(call script_force,$@) \ No newline at end of file diff --git a/build/scripts/lighttpd-php.sh b/build/scripts/lighttpd-php.sh new file mode 100644 index 0000000..c4349f5 --- /dev/null +++ b/build/scripts/lighttpd-php.sh @@ -0,0 +1,8 @@ +#!/bin/bash +set -e +source /build/config +set -x + +## Enable configuration PHP in Lighttpd +ln -s /etc/lighttpd/conf-available/10-fastcgi.conf /etc/lighttpd/conf-enabled/10-fastcgi.conf +ln -s /etc/lighttpd/conf-available/15-fastcgi-php.conf /etc/lighttpd/conf-enabled/15-fastcgi-php.conf