From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 03 Jun 2022 17:09:43 +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 1nx8vn-001vfc-MO for lore@lore.pengutronix.de; Fri, 03 Jun 2022 17:09:43 +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 1nx8vn-0004n9-3F; Fri, 03 Jun 2022 17:09:43 +0200 Received: from mail.ela-soft.com ([213.23.49.162]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nx8v7-0004mO-En for ptxdist@pengutronix.de; Fri, 03 Jun 2022 17:09:02 +0200 Received: from [10.0.0.47] (tupai.ela-bln.local [10.0.0.47]) by mail.ela-soft.com (mailsystem) with ESMTPSA id 6308A22A65 for ; Fri, 3 Jun 2022 17:09:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ela-soft.com; s=2021; t=1654268940; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sxHO5zx/MvFPTpRjFn2n8ftZgwFVsCcCQu57PfOCL7s=; b=o6UFZ4LOXxSWT32j26sTHZ+/OYdN3w1A4FpaC9L8/tolzFMNvC+zV1exaaJlNahDnNBNse BBGY6z1qVSHQajXktL3gm7UU04EaAz4HDaXi68yeeARYWoIbJMDpIem4JBW8Gr0YD6iOwB /OtTAwR/dqk2W2JOtmPTGlgBpmjHpWpcWRuP8CspYWLkimt6/qY6ce4PW42NHdN1YZKgdI GNTz5jneXNFwQeRagfULLp+Jz8z5qpfvhfpltZfB66NE8wKIdpnzrmfDGeMkCEfAgk4mWM U9+5qU1EuWFQOhJFlqBND7qyuI1VjwussB1VP2mkoYn7bGOCw98pc1gWtD+zuQ== Message-ID: Date: Fri, 3 Jun 2022 17:09:00 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Content-Language: de-DE To: ptxdist@pengutronix.de References: <2192a0b7-00e1-1b7f-b40f-ec62ff39bf5f@ela-soft.com> <20220603062336.GV16749@pengutronix.de> From: Andreas Helmcke In-Reply-To: <20220603062336.GV16749@pengutronix.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-102.2 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_WELCOMELIST,USER_IN_WHITELIST autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH v2 2/2] 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 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 Signed-off-by: Andreas Helmcke --- 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