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>

To reply to this bug, email your comments to 77880 AT debbugs.gnu.org.
There is no need to reopen the bug first.

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





Reply sent to Andreas Enge <andreas <at> enge.fr>:
You have taken responsibility. (Mon, 16 Jun 2025 12:54:02 GMT) Full text and rfc822 format available.

Notification sent to ashish.is <at> lostca.se:
bug acknowledged by developer. (Mon, 16 Jun 2025 12:54:02 GMT) Full text and rfc822 format available.

Message #10 received at 77880-done <at> debbugs.gnu.org (full text, mbox):

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.