From patchwork Thu Apr 17 22:19:52 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: iyzsong--- via Guix-patches via X-Patchwork-Id: 41751 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2473F27BC4A; Thu, 17 Apr 2025 23:24:35 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 11A6727BC49 for ; Thu, 17 Apr 2025 23:24:33 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u5XeW-0008NE-Gd; Thu, 17 Apr 2025 18:24:12 -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 1u5XeQ-0008M3-HW for guix-patches@gnu.org; Thu, 17 Apr 2025 18:24:08 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u5XeP-0001dg-BJ for guix-patches@gnu.org; Thu, 17 Apr 2025 18:24:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=QaeZKkQMDA0z622Jb4p3sx5vmH2aRxcFTW1RFZ8F+Ds=; b=r0n9zgN2YjEjz8COJkeVfYhc5NAh3XXuyFSEgJabFKlJ6nQ/8VeM13bS3slYjMK1YnTILLyv5LsChHmAiUjPInL2Sk3tWCXf0SGfgje7zH8484FI9p7y5Y66j7RLw/yuxtQ27FAWQL0aLme/Te8Y7wmY1kPKPcCZFLETln/oQmpirBZcKJE/fwF6ergAX/Swj4UyWkVZENFM1ADqgSFkBP9B3eEeYOPPHROM9+8WuWwf3A9RyqCLKBitDDVYo3ZzYXMfm7XaB7Wvdhu2bhoYzDfdm8hdLGgZzCdVBhGdMvrJzm/lQZ4fOaXsgCnIEKNb5MZim9guQLOMuMG8/9tgNw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u5XeP-0003bR-33 for guix-patches@gnu.org; Thu, 17 Apr 2025 18:24:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77880] [PATCH] gnu: php: Enable SAPI embed support Resent-From: ashish.is@lostca.se Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 17 Apr 2025 22:24:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 77880 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77880@debbugs.gnu.org Cc: Ashish SHUKLA X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174492862513659 (code B ref -1); Thu, 17 Apr 2025 22:24:04 +0000 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= Date: Thu, 17 Apr 2025 22:19:52 +0000 Message-ID: X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: ashish.is@lostca.se X-ACL-Warn: , "ashish.is--- via Guix-patches" X-Patchwork-Original-From: "ashish.is--- via Guix-patches" via From: iyzsong--- via Guix-patches via Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches 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(-) base-commit: d14663b94a7428eccbfa27aa620dc3d8ba67d752 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