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: ashish.is <at> lostca.se
Subject: bug#77880: closed (Re: [PATCH] gnu: php: Enable SAPI embed support)
Date: Mon, 16 Jun 2025 12:54:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#77880: [PATCH] gnu: php: Enable SAPI embed support

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 77880 <at> debbugs.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: 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


[Message part 3 (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




This bug report was last modified 2 days ago.

Previous Next


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