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

Signed-off-by: Juergen Borleis <[email protected]>
Signed-off-by: Andreas Helmcke <[email protected]>
---
v2 changes:
- better check for correct php configuration
  (removed select PHP8 because of recursive dependency error)

 rules/lighttpd.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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
-- 
2.34.1


Reply via email to