Versions/bucket/php56.json

48 lines
1.6 KiB
JSON

{
"version": "5.6.40",
"description": "A popular general-purpose scripting language that is especially suited to web development. (version 5.6)",
"homepage": "https://www.php.net",
"license": {
"identifier": "PHP-3.01",
"url": "https://secure.php.net/license/"
},
"suggest": {
"vcredist": "extras/vcredist2012"
},
"architecture": {
"64bit": {
"url": "https://downloads.php.net/~windows/releases/archives/php-5.6.40-Win32-VC11-x64.zip",
"hash": "b312df0b16ec645adfd7ad39ce6f9dd294a4dfeb8130ee8041f8af0f89f62904"
},
"32bit": {
"url": "https://downloads.php.net/~windows/releases/archives/php-5.6.40-Win32-VC11-x86.zip",
"hash": "7285219b84fbe4fe17f6aab555524aba6775fb45c4122449bb53cfff423a6847"
}
},
"pre_install": [
"# Create directory for custom PHP configuration",
"if (!(Test-Path \"$dir\\cli\\conf.d\")) {",
" (New-Item -Type directory \"$dir\\cli\\conf.d\") | Out-Null",
"}"
],
"post_install": [
"# Enable extensions to be found in installation-relative folder (the default is to search C:/php)",
"(Get-Content \"$dir\\cli\\php.ini\") | % { $_ -replace ';\\s?(extension_dir = \"ext\")', '$1' } | Set-Content \"$dir\\cli\\php.ini\""
],
"bin": [
"php.exe",
"php-cgi.exe",
"phpdbg.exe"
],
"persist": [
"cli",
[
"php.ini-production",
"cli\\php.ini"
]
],
"env_set": {
"PHP_INI_SCAN_DIR": "$dir\\cli;$dir\\cli\\conf.d;"
}
}