From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 20 Jun 2022 08:21:37 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1o3An1-007o9Z-QD for lore@lore.pengutronix.de; Mon, 20 Jun 2022 08:21:37 +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 1o3An2-0006x9-5i; Mon, 20 Jun 2022 08:21:36 +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 1o3AlA-0004Sf-PY; Mon, 20 Jun 2022 08:19:40 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1o3Al8-001agB-Lg; Mon, 20 Jun 2022 08:19:40 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1o3Al9-006G6b-BK; Mon, 20 Jun 2022 08:19:39 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Mon, 20 Jun 2022 08:19:39 +0200 Message-Id: <20220620061939.1491833-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] 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 Cc: Andreas Helmcke 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 Thanks, applied as bc7456eb52d729a77e674caf81f52218be1f1a1f. Michael [sent from post-receive hook] On Mon, 20 Jun 2022 08:19:39 +0200, Andreas Helmcke wrote: > With PHP8 at hand, the lighttpd's "fast cgi" feature can be used again. > > Signed-off-by: Juergen Borleis > Signed-off-by: Andreas Helmcke > Message-Id: > Signed-off-by: Michael Olbrich > > diff --git a/rules/lighttpd.in b/rules/lighttpd.in > index 18827467f73c..41703cce6c2e 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