Updated to `PHP 8.2.3`
This commit is contained in:
parent
86d897d580
commit
91d4d402de
|
@ -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
|
|
@ -0,0 +1 @@
|
|||
export PATH=$PWD/bin:$PATH
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"language": "php",
|
||||
"version": "8.2.3",
|
||||
"aliases": []
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
php "$@"
|
|
@ -0,0 +1 @@
|
|||
OK
|
Loading…
Reference in New Issue