summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilko Meyer <w@wmeyer.eu>2026-02-07 14:06:09 +0100
committerAndreas Enge <andreas@enge.fr>2026-02-07 22:33:53 +0100
commit232c55f84493ca06e7ad2d72ef6163b21e2de505 (patch)
treeeccebd06c097be033852c2440776da340438f9c9
parentea510232e6eb003bdbaf996e648eb351824aa9aa (diff)
gnu: Add php-8.4.
* gnu/packages/php.scm (php-8.4): New variable. Change-Id: I81f24e91f3060d563c89dd5a19e694e6b7d264aa Signed-off-by: Andreas Enge <andreas@enge.fr>
-rw-r--r--gnu/packages/php.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/php.scm b/gnu/packages/php.scm
index 4955e2563ed..6f290944f51 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"))))))))