diff --git a/php-nts.json b/php-nts.json
index 6532f06f9b..5d8211e2a9 100644
--- a/php-nts.json
+++ b/php-nts.json
@@ -1,21 +1,36 @@
{
"homepage": "http://windows.php.net",
- "version": "7.0.14",
+ "version": "7.1.0",
"license": "http://www.php.net/license/",
"architecture": {
"64bit": {
- "url": "http://windows.php.net/downloads/releases/php-7.0.14-nts-Win32-VC14-x64.zip",
- "hash": "1D117986B57CC57441A3056F578BA56A7FCBB53A7CD2D7DDCA7C634A6012687F"
+ "url": "http://windows.php.net/downloads/releases/php-7.1.0-Win32-VC14-x64.zip",
+ "hash": "sha1:48b99e4aae06b6ca4933689277bd3ff836398eb8"
},
"32bit": {
- "url": "http://windows.php.net/downloads/releases/php-7.0.14-nts-Win32-VC14-x86.zip",
- "hash": "8A9A0F8A0C368AE75C398B93238B2EE14CA7746E5E265CAC6D8A50AE5F9624DB"
+ "url": "http://windows.php.net/downloads/releases/php-7.1.0-Win32-VC14-x86.zip",
+ "hash": "sha1:afb042692d01848016c64246672601a28efffead"
}
},
- "bin": ["php.exe", "php-cgi.exe"],
+ "bin": [
+ "php.exe",
+ "php-cgi.exe"
+ ],
"post_install": "cp \"$dir\\php.ini-production\" \"$dir\\php.ini\"",
"checkver": {
"url": "http://windows.php.net/download/",
- "re": "
.*?\\(([\\d.]+)\\)
"
+ "re": ".*?\\(([\\d.]+)\\)
"
+ },
+ "autoupdate": {
+ "url": {
+ "64bit": "http://windows.php.net/downloads/releases/php-$version-Win32-VC14-x64.zip",
+ "32bit": "http://windows.php.net/downloads/releases/php-$version-Win32-VC14-x86.zip"
+ },
+ "hash": {
+ "mode": "extract",
+ "type": "sha1",
+ "url": "http://windows.php.net/downloads/releases/sha1sum.txt",
+ "find": "([a-z0-9]{40})\\s+(?:$basename)"
+ }
}
}
diff --git a/php.json b/php.json
index 06f2be360c..122d012089 100644
--- a/php.json
+++ b/php.json
@@ -1,25 +1,25 @@
{
"homepage": "http://windows.php.net",
- "version": "7.0.14",
+ "version": "7.1.0",
"license": "https://www.php.net/license/",
"architecture": {
"64bit": {
"url": [
- "http://windows.php.net/downloads/releases/php-7.0.14-Win32-VC14-x64.zip",
+ "http://windows.php.net/downloads/releases/php-7.1.0-Win32-VC14-x64.zip",
"https://raw.githubusercontent.com/madbub/scoop-php/master/64-bit/vcruntime140.dll"
],
"hash": [
- "b56093735da62ca1435e732a00e5cd432ece60f466e45e490844eac03bd3a70d",
+ "sha1:48b99e4aae06b6ca4933689277bd3ff836398eb8",
"acf65e565021f2017815fc5ec8a3145cf6c15e75c132cf23a378cc943e68327c"
]
},
"32bit": {
"url": [
- "http://windows.php.net/downloads/releases/php-7.0.14-Win32-VC14-x86.zip",
+ "http://windows.php.net/downloads/releases/php-7.1.0-Win32-VC14-x86.zip",
"https://raw.githubusercontent.com/MPLew-is/scoop-wamp/master/visual-c-redistributables/14/32-bit/vcruntime140.dll"
],
"hash": [
- "cd4c0f156272de8cf58f77f2c954ca1f20d491cf564b8c8c3d78cf7e707f4db7",
+ "sha1:afb042692d01848016c64246672601a28efffead",
"b7c13f8519340257ba6ae3129afce961f137e394dde3e4e41971b9f912355f5e"
]
}
@@ -40,6 +40,18 @@ cp \"$dir\\php.ini-production\" \"$dir\\php.ini\"
",
"checkver": {
"url": "http://windows.php.net/download/",
- "re": ".*?\\(([\\d.]+)\\)
"
+ "re": ".*?\\(([\\d.]+)\\)
"
+ },
+ "autoupdate": {
+ "url": {
+ "64bit": "http://windows.php.net/downloads/releases/php-$version-Win32-VC14-x64.zip",
+ "32bit": "http://windows.php.net/downloads/releases/php-$version-Win32-VC14-x86.zip"
+ },
+ "hash": {
+ "mode": "extract",
+ "type": "sha1",
+ "url": "http://windows.php.net/downloads/releases/sha1sum.txt",
+ "find": "([a-z0-9]{40})\\s+(?:$basename)"
+ }
}
}