diff --git a/php-nts.json b/php-nts.json new file mode 100644 index 0000000000..d497dc4321 --- /dev/null +++ b/php-nts.json @@ -0,0 +1,21 @@ +{ + "homepage": "http://windows.php.net", + "version": "5.6.15", + "license": "http://www.php.net/license/", + "architecture": { + "64bit": { + "url": "http://windows.php.net/downloads/releases/php-5.6.15-nts-Win32-VC11-x64.zip", + "hash": "sha1:1108a921c993c0f767aa03262b0f02cab9a83f9b" + }, + "32bit": { + "url": "http://windows.php.net/downloads/releases/php-5.6.15-nts-Win32-VC11-x86.zip", + "hash": "sha1:c9f0aefb6add0b0afa9dab1b640333d8a7789a66" + } + }, + "bin": "php.exe", + "post_install": "cp \"$dir\\php.ini-production\" \"$dir\\php.ini\"", + "checkver": { + "url": "http://windows.php.net/download/", + "re": "

.*?\\(([0-9\\.]+)\\)

" + } +} diff --git a/php.json b/php.json index 7af45406a4..ff28e227c1 100644 --- a/php.json +++ b/php.json @@ -2,8 +2,16 @@ "homepage": "http://windows.php.net", "version": "5.6.15", "license": "http://www.php.net/license/", - "url": "http://windows.php.net/downloads/releases/php-5.6.15-Win32-VC11-x86.zip", - "hash": "sha1:f33b3a724a0dc8657f868f9f47f3eabcf94ff393", + "architecture": { + "64bit": { + "url": "http://windows.php.net/downloads/releases/php-5.6.15-Win32-VC11-x64.zip", + "hash": "sha1:626aa7ac0642eab2d6167f556fd564e4503e17b8" + }, + "32bit": { + "url": "http://windows.php.net/downloads/releases/php-5.6.15-Win32-VC11-x86.zip", + "hash": "sha1:f33b3a724a0dc8657f868f9f47f3eabcf94ff393" + } + }, "bin": "php.exe", "post_install": "cp \"$dir\\php.ini-production\" \"$dir\\php.ini\"", "checkver": { @@ -11,4 +19,3 @@ "re": "

.*?\\(([0-9\\.]+)\\)

" } } -