From unknown Wed Jun 18 23:11:42 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#77880 <77880@debbugs.gnu.org> To: bug#77880 <77880@debbugs.gnu.org> Subject: Status: [PATCH] gnu: php: Enable SAPI embed support Reply-To: bug#77880 <77880@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:11:42 +0000 retitle 77880 [PATCH] gnu: php: Enable SAPI embed support reassign 77880 guix-patches submitter 77880 ashish.is@lostca.se severity 77880 normal tag 77880 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 17 18:23:44 2025 Received: (at submit) by debbugs.gnu.org; 17 Apr 2025 22:23:45 +0000 Received: from localhost ([127.0.0.1]:48782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u5Xe3-0003Y1-9q for submit@debbugs.gnu.org; Thu, 17 Apr 2025 18:23:44 -0400 Received: from lists.gnu.org ([2001:470:142::17]:56882) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u5Xdy-0003WB-3u for submit@debbugs.gnu.org; Thu, 17 Apr 2025 18:23:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u5Xds-0008J3-JH for guix-patches@gnu.org; Thu, 17 Apr 2025 18:23:32 -0400 Received: from anamika.lostca.se ([65.21.75.227]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u5Xdq-0001Vw-QP for guix-patches@gnu.org; Thu, 17 Apr 2025 18:23:32 -0400 Received: from borboleta.inet6.in (unknown [IPv6:2a01:4f9:3070:1aea::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: abbe) by anamika.lostca.se (Postfix) with ESMTPSA id EDD921A8A0; Thu, 17 Apr 2025 22:23:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lostca.se; s=anamika; t=1744928596; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=QaeZKkQMDA0z622Jb4p3sx5vmH2aRxcFTW1RFZ8F+Ds=; b=jl7Kq2KUMrJ5vJsy0/uKUracOwQLVGEwxhdNZj+V2dY0QBoH6/FHwiNpdbAecKiUnOJYfx ewK97lARGCDz9I7/SxaWx8pit/foTEUmDS2pzGuWn+XlMshDBPOkWp4bX1VUOylE3DIdB4 Sftj0zI4XvI/whXVSVpjKpXbgUZXUKw= From: ashish.is@lostca.se To: guix-patches@gnu.org Subject: [PATCH] gnu: php: Enable SAPI embed support Date: Thu, 17 Apr 2025 22:19:52 +0000 Message-ID: X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=65.21.75.227; envelope-from=ashish.is@lostca.se; helo=anamika.lostca.se X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: Ashish SHUKLA X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) From: Ashish SHUKLA * gnu/packages/php.scm (php)[arguments]<#:configure-flags>: Add flags. Change-Id: I8f7eba62e267e914d0433c387fb40987cd0c3acf --- Hi, While looking to try PHP application servers (e.g. nginx unit, frankenphp, etc.), I noticed that the PHP is missing such a support to be usable. Thanks! gnu/packages/php.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/php.scm b/gnu/packages/php.scm index 8b080b73e2..688cb830b4 100644 --- a/gnu/packages/php.scm +++ b/gnu/packages/php.scm @@ -133,7 +133,11 @@ (define-public php "--enable-mbstring" "--enable-pcntl" "--enable-sockets" - "--enable-sysvsem")) ; Required for, e.g. Nextcloud + "--enable-sysvsem" ; Required for, e.g. Nextcloud + "--enable-embed" ; Required for embed SAPI + "--enable-zts" + "--disable-zend-signals" + "--enable-zend-max-execution-timers")) #:phases (modify-phases %standard-phases (add-after 'unpack 'do-not-record-build-flags base-commit: d14663b94a7428eccbfa27aa620dc3d8ba67d752 -- 2.49.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 16 08:53:59 2025 Received: (at 77880-done) by debbugs.gnu.org; 16 Jun 2025 12:53:59 +0000 Received: from localhost ([127.0.0.1]:44269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uR9La-0006Qe-QW for submit@debbugs.gnu.org; Mon, 16 Jun 2025 08:53:59 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:48978) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uR9LX-0006Pt-Ds for 77880-done@debbugs.gnu.org; Mon, 16 Jun 2025 08:53:56 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 928EF3B0; Mon, 16 Jun 2025 14:53:47 +0200 (CEST) Authentication-Results: hera.aquilenet.fr; none X-Virus-Scanned: Debian amavis at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP id o38gDq94JOq0; Mon, 16 Jun 2025 14:53:47 +0200 (CEST) Received: from jurong (176-179-191-150.abo.bbox.fr [176.179.191.150]) by hera.aquilenet.fr (Postfix) with ESMTPSA id B11FF138; Mon, 16 Jun 2025 14:53:45 +0200 (CEST) Date: Mon, 16 Jun 2025 14:53:44 +0200 From: Andreas Enge To: ashish.is@lostca.se Subject: Re: [PATCH] gnu: php: Enable SAPI embed support Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Server: hera X-Rspamd-Queue-Id: 928EF3B0 X-Spamd-Result: default: False [-5.57 / 15.00]; NEURAL_HAM(-3.00)[-1.000]; BAYES_HAM(-2.97)[99.87%]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_NONE(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Action: no action X-Spamd-Bar: ----- X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77880-done Cc: 77880-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello Ashish, QA complains that savane stops working after the change, but the error message seems to indicate that this is unrelated. So I have pushed. Thanks! Andreas