summaryrefslogtreecommitdiffstats
path: root/rules/lighttpd.in
diff options
context:
space:
mode:
authorAndreas Helmcke <ahelmcke@ela-soft.com>2022-06-03 17:09:00 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2022-06-17 10:45:04 +0200
commitbc7456eb52d729a77e674caf81f52218be1f1a1f (patch)
tree2dc2d19b7e95570fb57073cdac713ae830e38f27 /rules/lighttpd.in
parenta79ab0d71b2fd1d3a330c43ded232255afd8163c (diff)
downloadptxdist-bc7456eb52d729a77e674caf81f52218be1f1a1f.tar.gz
ptxdist-bc7456eb52d729a77e674caf81f52218be1f1a1f.tar.xz
lighttpd: reenable PHP support via "fast cgi"
With PHP8 at hand, the lighttpd's "fast cgi" feature can be used again. Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Andreas Helmcke <ahelmcke@ela-soft.com> Message-Id: <de70efce-e917-56d0-b1d4-ca9cb42a9af8@ela-soft.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/lighttpd.in')
-rw-r--r--rules/lighttpd.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/rules/lighttpd.in b/rules/lighttpd.in
index 18827467f..41703cce6 100644
--- a/rules/lighttpd.in
+++ b/rules/lighttpd.in
@@ -132,12 +132,15 @@ if LIGHTTPD_MOD_FASTCGI
config LIGHTTPD_MOD_FASTCGI_PHP
bool
- depends on BROKEN
+ depends on PHP8_SAPI_CGI
prompt "setup php handling with fastcgi"
help
Enables the necessary packages and configuration files
to enable PHP support in lighttpd
+comment "PHP CGI SAPI must be enabled"
+ depends on !PHP8_SAPI_CGI
+
endif
config LIGHTTPD_MOD_MAGNET