GNU bug report logs - #77880
[PATCH] gnu: php: Enable SAPI embed support

Previous Next

Package: guix-patches;

Reported by: ashish.is <at> lostca.se

Date: Thu, 17 Apr 2025 22:24:04 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 77880 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#77880; Package guix-patches. (Thu, 17 Apr 2025 22:24:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to ashish.is <at> lostca.se:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 17 Apr 2025 22:24:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ashish.is <at> lostca.se
To: guix-patches <at> gnu.org
Cc: Ashish SHUKLA <ashish.is <at> lostca.se>
Subject: [PATCH] gnu: php: Enable SAPI embed support
Date: Thu, 17 Apr 2025 22:19:52 +0000
From: Ashish SHUKLA <ashish.is <at> lostca.se>

* 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





This bug report was last modified 6 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.