From e823fff6e8ebf5a57116fddce426674aa78232af Mon Sep 17 00:00:00 2001 From: Jorrin Date: Wed, 26 Feb 2025 22:15:03 +0100 Subject: [PATCH] add php8.4 support --- bucket/php8.4-nts.json | 47 ++++++++++++++++++++++++++++++++++++++++++ bucket/php8.4.json | 47 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100644 bucket/php8.4-nts.json create mode 100644 bucket/php8.4.json diff --git a/bucket/php8.4-nts.json b/bucket/php8.4-nts.json new file mode 100644 index 0000000..262fe4a --- /dev/null +++ b/bucket/php8.4-nts.json @@ -0,0 +1,47 @@ +{ + "homepage": "https://windows.php.net/downloads/releases/", + "version": "8.4.4", + "license": { + "identifier": "PHP-3.01", + "url": "https://secure.php.net/license/" + }, + "architecture": { + "64bit": { + "url": "https://windows.php.net/downloads/releases/php-8.4.4-nts-Win32-vs17-x64.zip", + "hash": "950834361d4a03cd67c2be12eff2758b2fbffc46abb2671b2929b0d4c0e8b953" + }, + "32bit": { + "url": "https://windows.php.net/downloads/releases/php-8.4.4-nts-Win32-vs17-x86.zip", + "hash": "eae76270758c3f76b2fbc133d66db96768cb8d967d2994aa07ccd32c94f70064" + } + }, + "bin": [ + "php.exe", + "php-cgi.exe" + ], + "persist": "conf.d", + "env_set": { + "PHP_INI_SCAN_DIR": "$persist_dir;$dir\\conf.d;" + }, + "post_install": "if($bucket) { . \"$(Find-BucketDirectory $bucket\\bin\\postinstall.ps1)\" -dir \"$dir\" }", + "checkver": { + "url": "https://windows.php.net/download/", + "re": "

.*?\\(([\\d.-]+)\\)

" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://windows.php.net/downloads/releases/php-$version-nts-Win32-vs17-x64.zip" + }, + "32bit": { + "url": "https://windows.php.net/downloads/releases/php-$version-nts-Win32-vs17-x86.zip" + } + }, + "hash": { + "url": "$baseurl/sha256sum.txt" + } + }, + "suggest": { + "vcredist": "extras/vcredist2019" + } +} diff --git a/bucket/php8.4.json b/bucket/php8.4.json new file mode 100644 index 0000000..d55383f --- /dev/null +++ b/bucket/php8.4.json @@ -0,0 +1,47 @@ +{ + "homepage": "https://windows.php.net/downloads/releases/", + "version": "8.4.4", + "license": { + "identifier": "PHP-3.01", + "url": "https://secure.php.net/license/" + }, + "architecture": { + "64bit": { + "url": "https://windows.php.net/downloads/releases/php-8.4.4-Win32-vs17-x64.zip", + "hash": "879da3a8d56b4c682610749c8bdc8b634862279653b07b8c52187dfa5e19ab42" + }, + "32bit": { + "url": "https://windows.php.net/downloads/releases/php-8.4.4-Win32-vs17-x86.zip", + "hash": "8a33855a9c4fa0539e7cbebf65952030db754483a52bff57bb72facae1b9037e" + } + }, + "bin": [ + "php.exe", + "php-cgi.exe" + ], + "persist": "conf.d", + "env_set": { + "PHP_INI_SCAN_DIR": "$persist_dir;$dir\\conf.d;" + }, + "post_install": "if($bucket) { . \"$(Find-BucketDirectory $bucket\\bin\\postinstall.ps1)\" -dir \"$dir\" }", + "checkver": { + "url": "https://windows.php.net/download/", + "re": "

.*?\\(([\\d.-]+)\\)

" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://windows.php.net/downloads/releases/php-$version-Win32-vs17-x64.zip" + }, + "32bit": { + "url": "https://windows.php.net/downloads/releases/php-$version-Win32-vs17-x86.zip" + } + }, + "hash": { + "url": "$baseurl/sha256sum.txt" + } + }, + "suggest": { + "vcredist": "extras/vcredist2019" + } +}