From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 12 Aug 2021 12:41:00 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mE88y-00087H-O9 for lore@lore.pengutronix.de; Thu, 12 Aug 2021 12:41:00 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mE88y-0005AQ-49; Thu, 12 Aug 2021 12:41:00 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mE88G-0004RM-JM for ptxdist@pengutronix.de; Thu, 12 Aug 2021 12:40:16 +0200 Received: from [2a0a:edc0:0:900:2e4d:54ff:fe67:bfa5] (helo=ginster) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mE88F-00035J-IU for ptxdist@pengutronix.de; Thu, 12 Aug 2021 12:40:15 +0200 Received: from jbe by ginster with local (Exim 4.92) (envelope-from ) id 1mE88F-00056M-I8 for ptxdist@pengutronix.de; Thu, 12 Aug 2021 12:40:15 +0200 From: Juergen Borleis To: ptxdist@pengutronix.de Date: Thu, 12 Aug 2021 12:40:13 +0200 Message-Id: <20210812104015.19563-3-jbe@pengutronix.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210812104015.19563-1-jbe@pengutronix.de> References: <20210812104015.19563-1-jbe@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH 3/5] lighttpd: reenable PHP support via "fast cgi" X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false With PHP8 at hand, the lighttpd's "fast cgi" feature can be used again. Signed-off-by: Juergen Borleis --- 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