Subject: bug#77880: closed (Re: [PATCH] gnu: php: Enable SAPI embed support)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 16 Jun 2025 12:54:02 +0000

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 [email-masked].

-- 
77880: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77880
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [PATCH] gnu: php: Enable SAPI embed support
From: Andreas Enge <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Mon, 16 Jun 2025 14:53:44 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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

Subject: [PATCH] gnu: php: Enable SAPI embed support
From: [email-masked]
To: [email-masked]
Cc: Ashish SHUKLA <[email-masked]>
Date: Thu, 17 Apr 2025 22:19:52 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

From: Ashish SHUKLA <[email-masked]>

* 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