Updated to `PHP 8.2.3`

This commit is contained in:
RVG|lory 2023-04-07 19:40:10 +02:00 committed by GitHub
parent 86d897d580
commit 91d4d402de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 30 additions and 0 deletions

20
packages/php/8.2.3/build.sh vendored Normal file
View File

@ -0,0 +1,20 @@
#!/bin/bash
PREFIX=$(realpath $(dirname $0))
mkdir -p build/php
cd build
curl "https://www.php.net/distributions/php-8.2.3.tar.gz" -o php.tar.gz
tar xzf php.tar.gz --strip-components=1 -C php
cd php
./configure --prefix "$PREFIX"
make -j$(nproc)
make install -j$(nproc)
cd ../../
rm -rf build

1
packages/php/8.2.3/environment vendored Normal file
View File

@ -0,0 +1 @@
export PATH=$PWD/bin:$PATH

5
packages/php/8.2.3/metadata.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"language": "php",
"version": "8.2.3",
"aliases": []
}

3
packages/php/8.2.3/run vendored Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
php "$@"

1
packages/php/8.2.3/test.php vendored Normal file
View File

@ -0,0 +1 @@
OK