mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Juergen Borleis <jbe@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 3/5] lighttpd: reenable PHP support via "fast cgi"
Date: Thu, 12 Aug 2021 12:40:13 +0200	[thread overview]
Message-ID: <20210812104015.19563-3-jbe@pengutronix.de> (raw)
In-Reply-To: <20210812104015.19563-1-jbe@pengutronix.de>

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

Signed-off-by: Juergen Borleis <jbe@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-request@pengutronix.de


  parent reply	other threads:[~2021-08-12 10:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-12 10:40 [ptxdist] [PATCH 1/5] apache2: remove initV artefact Juergen Borleis
2021-08-12 10:40 ` [ptxdist] [PATCH 2/5] php: reanimate PHP as PHP8 Juergen Borleis
2021-08-12 11:15   ` Gieseler, Christian
2021-08-12 12:41     ` Juergen Borleis
2021-09-03 14:11   ` Michael Olbrich
2021-09-03 14:13   ` Michael Olbrich
2021-08-12 10:40 ` Juergen Borleis [this message]
2021-08-12 10:40 ` [ptxdist] [PATCH 4/5] openvpn: still allow initV support Juergen Borleis
2021-09-03 14:16   ` Michael Olbrich
2021-08-12 10:40 ` [ptxdist] [PATCH 5/5] openvpn: version bump 2.4.6 -> 2.5.3 Juergen Borleis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210812104015.19563-3-jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox