/
php73.json
47 lines (47 loc) 路 1.6 KB
/
php73.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"version": "7.3.33",
"description": "A popular general-purpose scripting language that is especially suited to web development. (version 7.3)",
"homepage": "https://windows.php.net/",
"license": {
"identifier": "PHP-3.01",
"url": "https://secure.php.net/license/"
},
"suggest": {
"vcredist": "extras/vcredist2022"
},
"architecture": {
"64bit": {
"url": "https://windows.php.net/downloads/releases/archives/php-7.3.33-Win32-VC15-x64.zip",
"hash": "eabf265d817ea534eeeeb51995693a8fd215bc6cfc42d5fcd5e5cd56a1d5da53"
},
"32bit": {
"url": "https://windows.php.net/downloads/releases/archives/php-7.3.33-Win32-VC15-x86.zip",
"hash": "a73ab9dede3d0aa70a6625431d85a96b4637f06e113b711212a3ba52d6435f48"
}
},
"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;"
}
}