mirror of
https://github.com/ScoopInstaller/Main.git
synced 2026-02-03 18:44:47 +00:00
php(-nts): Update to version 8.5.2, fix checkver & autoupdate (#7560)
* Migrate download source to downloads.php.net since windows.php.net is going to shut down.
This commit is contained in:
parent
e1237d1322
commit
0a1cf4131c
@ -1,19 +1,19 @@
|
||||
{
|
||||
"version": "8.5.1",
|
||||
"version": "8.5.2",
|
||||
"description": "A popular general-purpose scripting language that is especially suited to web development. (non-thread safe)",
|
||||
"homepage": "https://windows.php.net/",
|
||||
"homepage": "https://www.php.net/",
|
||||
"license": "PHP-3.01",
|
||||
"suggest": {
|
||||
"vcredist": "extras/vcredist2022"
|
||||
},
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "https://windows.php.net/downloads/releases/php-8.5.1-nts-Win32-vs17-x64.zip",
|
||||
"hash": "b80175dc14753e0645b0a2637782c02583aa5d25d487721129501a25796526db"
|
||||
"url": "https://downloads.php.net/~windows/releases/archives/php-8.5.2-nts-Win32-vs17-x64.zip",
|
||||
"hash": "acb844830aee008a7dde4092f6aab62b09541b3f16260806beff4e4dcc7d9617"
|
||||
},
|
||||
"32bit": {
|
||||
"url": "https://windows.php.net/downloads/releases/php-8.5.1-nts-Win32-vs17-x86.zip",
|
||||
"hash": "de3747b785af34f8978afbadf0dfe81004bfc3c0e4850416dd618c327c5c3a6c"
|
||||
"url": "https://downloads.php.net/~windows/releases/archives/php-8.5.2-nts-Win32-vs17-x86.zip",
|
||||
"hash": "6d52684520ef79421f678c8d70792bfe746df31e0b76224ac39d3107f5f89daa"
|
||||
}
|
||||
},
|
||||
"pre_install": [
|
||||
@ -42,20 +42,21 @@
|
||||
]
|
||||
],
|
||||
"checkver": {
|
||||
"url": "https://windows.php.net/download/",
|
||||
"regex": "<h3 id=\"php-[\\d.]+\".*?>.*?\\(([\\d.]+)\\)</h3>"
|
||||
"url": "https://www.php.net/releases/branches.php",
|
||||
"jsonpath": "$[0].latest"
|
||||
},
|
||||
"autoupdate": {
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "https://windows.php.net/downloads/releases/php-$version-nts-Win32-vs17-x64.zip"
|
||||
"url": "https://downloads.php.net/~windows/releases/archives/php-$version-nts-Win32-vs17-x64.zip"
|
||||
},
|
||||
"32bit": {
|
||||
"url": "https://windows.php.net/downloads/releases/php-$version-nts-Win32-vs17-x86.zip"
|
||||
"url": "https://downloads.php.net/~windows/releases/archives/php-$version-nts-Win32-vs17-x86.zip"
|
||||
}
|
||||
},
|
||||
"hash": {
|
||||
"url": "$baseurl/sha256sum.txt"
|
||||
"url": "https://www.php.net/backend/win-releases.json",
|
||||
"jsonpath": "$..[?(@.path == '$basename')].sha256"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,19 +1,19 @@
|
||||
{
|
||||
"version": "8.5.1",
|
||||
"version": "8.5.2",
|
||||
"description": "A popular general-purpose scripting language that is especially suited to web development. (thread safe)",
|
||||
"homepage": "https://windows.php.net/",
|
||||
"homepage": "https://www.php.net/",
|
||||
"license": "PHP-3.01",
|
||||
"suggest": {
|
||||
"vcredist": "extras/vcredist2022"
|
||||
},
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "https://windows.php.net/downloads/releases/php-8.5.1-Win32-vs17-x64.zip",
|
||||
"hash": "77fbee57c8159279bc065942d361103b0a3f53c8dfabc182a07433be9eec8dba"
|
||||
"url": "https://downloads.php.net/~windows/releases/archives/php-8.5.2-Win32-vs17-x64.zip",
|
||||
"hash": "a44bda6ae67fe20cb5da8d38d228601d48459f857d95b54251d12365bd428dfe"
|
||||
},
|
||||
"32bit": {
|
||||
"url": "https://windows.php.net/downloads/releases/php-8.5.1-Win32-vs17-x86.zip",
|
||||
"hash": "cfd66a27d32e0ce2f462527f8f29fd2d797c714083c07a32b6147d06a7553d6f"
|
||||
"url": "https://downloads.php.net/~windows/releases/archives/php-8.5.2-Win32-vs17-x86.zip",
|
||||
"hash": "7fd2816819165b3504275140e040e13e7f55e1f146641188257715d063eeeecf"
|
||||
}
|
||||
},
|
||||
"pre_install": [
|
||||
@ -42,20 +42,21 @@
|
||||
]
|
||||
],
|
||||
"checkver": {
|
||||
"url": "https://windows.php.net/download/",
|
||||
"regex": "<h3 id=\"php-[\\d.]+\".*?>.*?\\(([\\d.]+)\\)</h3>"
|
||||
"url": "https://www.php.net/releases/branches.php",
|
||||
"jsonpath": "$[0].latest"
|
||||
},
|
||||
"autoupdate": {
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "https://windows.php.net/downloads/releases/php-$version-Win32-vs17-x64.zip"
|
||||
"url": "https://downloads.php.net/~windows/releases/archives/php-$version-Win32-vs17-x64.zip"
|
||||
},
|
||||
"32bit": {
|
||||
"url": "https://windows.php.net/downloads/releases/php-$version-Win32-vs17-x86.zip"
|
||||
"url": "https://downloads.php.net/~windows/releases/archives/php-$version-Win32-vs17-x86.zip"
|
||||
}
|
||||
},
|
||||
"hash": {
|
||||
"url": "$baseurl/sha256sum.txt"
|
||||
"url": "https://www.php.net/backend/win-releases.json",
|
||||
"jsonpath": "$..[?(@.path == '$basename')].sha256"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user