{ "version": "8.4.15", "description": "A popular general-purpose scripting language that is especially suited to web development. (non-thread safe)", "homepage": "https://windows.php.net/", "license": "PHP-3.01", "suggest": { "vcredist": "extras/vcredist2022" }, "architecture": { "64bit": { "url": "https://windows.php.net/downloads/releases/php-8.4.15-nts-Win32-vs17-x64.zip", "hash": "73da73427bf6498d767788c8eb4411e2eb1b0fb2d93c4fa6399910f38f8263c0" }, "32bit": { "url": "https://windows.php.net/downloads/releases/php-8.4.15-nts-Win32-vs17-x86.zip", "hash": "0f7e1a446119705e6ed8d2088734da1476193176c79fed3d0870655b451df562" } }, "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" ], "env_set": { "PHP_INI_SCAN_DIR": "$dir\\cli;$dir\\cli\\conf.d;" }, "persist": [ "cli", [ "php.ini-production", "cli\\php.ini" ] ], "checkver": { "url": "https://windows.php.net/download/", "regex": "