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

Done: Andreas Enge <andreas <at> enge.fr>

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Andreas Enge <andreas <at> enge.fr>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#77880: closed ([PATCH] gnu: php: Enable SAPI embed support)
Date: Mon, 16 Jun 2025 12:54:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 16 Jun 2025 14:53:44 +0200
with message-id <aFAT2GNnG7lfzopn <at> jurong>
and subject line Re: [PATCH] gnu: php: Enable SAPI embed support
has caused the debbugs.gnu.org bug report #77880,
regarding [PATCH] gnu: php: Enable SAPI embed support
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
77880: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77880
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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



[Message part 3 (message/rfc822, inline)]
From: Andreas Enge <andreas <at> enge.fr>
To: ashish.is <at> lostca.se
Cc: 77880-done <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: php: Enable SAPI embed support
Date: Mon, 16 Jun 2025 14:53:44 +0200
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



This bug report was last modified 1 day ago.

Previous Next


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