Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php: Add version 8.3 #1468

Merged
merged 1 commit into from
Nov 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}
}
}