With PHP8 at hand, the lighttpd's "fast cgi" feature can be used again.

Signed-off-by: Juergen Borleis <j...@pengutronix.de>
---
 rules/lighttpd.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/rules/lighttpd.in b/rules/lighttpd.in
index 1f853c7..aecdcc0 100644
--- a/rules/lighttpd.in
+++ b/rules/lighttpd.in
@@ -18,6 +18,7 @@ menuconfig LIGHTTPD
        select LIBMEMCACHED             if LIGHTTPD_MEMCACHED
        select LUA                      if LIGHTTPD_LUA
        select LUA_INSTALL_LIBLUA       if LIGHTTPD_LUA
+       select PHP8                     if LIGHTTPD_MOD_FASTCGI_PHP && RUNTIME
        select BUSYBOX_START_STOP_DAEMON                        if 
LIGHTTPD_STARTSCRIPT
        select BUSYBOX_FEATURE_START_STOP_DAEMON_FANCY          if 
LIGHTTPD_STARTSCRIPT
        select BUSYBOX_FEATURE_START_STOP_DAEMON_LONG_OPTIONS   if 
LIGHTTPD_STARTSCRIPT
@@ -146,12 +147,14 @@ if LIGHTTPD_MOD_FASTCGI
 
 config LIGHTTPD_MOD_FASTCGI_PHP
        bool
-       depends on BROKEN
        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 LIGHTTPD_MOD_FASTCGI_PHP && !PHP8_SAPI_CGI
+
 endif
 
 config LIGHTTPD_MOD_MAGNET
-- 
2.20.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de

Reply via email to