guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 232c55f84493ca06e7ad2d72ef6163b21e2de505
Author: Wilko Meyer <[email protected]>
AuthorDate: Sat Feb 7 14:06:09 2026 +0100

    gnu: Add php-8.4.
    
    * gnu/packages/php.scm (php-8.4): New variable.
    
    Change-Id: I81f24e91f3060d563c89dd5a19e694e6b7d264aa
    Signed-off-by: Andreas Enge <[email protected]>
---
 gnu/packages/php.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/php.scm b/gnu/packages/php.scm
index 4955e2563e..6f290944f5 100644
--- a/gnu/packages/php.scm
+++ b/gnu/packages/php.scm
@@ -384,3 +384,29 @@ systems, web content management systems and web 
frameworks.")
 
 ;; php should always point to the latest php version
 (define-public php php-8.5)
+
+;; older supported php version
+;; actively supported until: 31 Dec 2026
+;; security support until: 31 Dec 2028
+(define-public php-8.4
+  (package
+    (inherit php-8.5)
+    (home-page "https://www.php.net/";)
+    (version "8.4.17")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append home-page "distributions/" "php-" version 
".tar.xz"))
+       (sha256
+        (base32 "1yhbigrhy9k7cnbzbrfjr6dxhs8ixf1i5mi1x755hq988zik9ci8"))
+       (modules '((guix build utils)))
+       (snippet
+        '(with-directory-excursion "ext"
+           (for-each delete-file-recursively
+                     ;; Some of the bundled libraries have no proper upstream.
+                     ;; Ideally we'd extract these out as separate packages:
+                     ;; "mbstring/libmbfl"
+                     ;; "date/lib"
+                     ;; "bcmath/libbcmath"
+                     ;; "fileinfo/libmagic" ; a patched version of libmagic
+                     '("gd/libgd" "pcre/pcre2lib"))))))))

Reply via email to