Skip to content

Commit

Permalink
php83: Add version 8.3 (#1468)
Browse files Browse the repository at this point in the history
  • Loading branch information
suabahasa authored Nov 30, 2023
1 parent cd926a7 commit 602aa54
Showing 1 changed file with 61 additions and 0 deletions.
61 changes: 61 additions & 0 deletions bucket/php83.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"version": "8.3.0",
"description": "PHP, a popular general-purpose scripting language that is especially suited to web development. (version 8.3)",
"homepage": "https://windows.php.net/",
"license": "PHP-3.01",
"suggest": {
"vcredist": "extras/vcredist2022"
},
"architecture": {
"64bit": {
"url": "https://windows.php.net/downloads/releases/php-8.3.0-Win32-vs16-x64.zip",
"hash": "f606eb650a002a89a95c41b431cf2b4c6778797037f5691f92f79f2fa3a5abfb"
},
"32bit": {
"url": "https://windows.php.net/downloads/releases/php-8.3.0-Win32-vs16-x86.zip",
"hash": "b2b8dfbf53d0df834923b78f378c07808c63a265858ee027160715ed8b3d9a37"
}
},
"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": "<h3 id=\"php-8.3\".*?>.*?\\(([\\d.]+)\\)</h3>"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://windows.php.net/downloads/releases/php-$version-Win32-vs16-x64.zip"
},
"32bit": {
"url": "https://windows.php.net/downloads/releases/php-$version-Win32-vs16-x86.zip"
}
},
"hash": {
"url": "$baseurl/sha256sum.txt"
}
}
}

0 comments on commit 602aa54

Please sign in to comment.