Change extensions directory for PHP 5.3 on Ubuntu

Add support for PHP 5.6+ on MacOS ARM

Update lists for PHP 5.3

Clear cache

Bump version to 1.4.0
This commit is contained in:
Shivam Mathur
2020-12-31 03:42:44 +05:30
parent bc3f3bc008
commit 9ef47bc1b1
6 changed files with 166 additions and 248 deletions

View File

@@ -1,10 +1,8 @@
linux_extension_dir() {
apiv=$1
if [ "$version" = "5.3" ]; then
echo "/home/runner/php/5.3.29/lib/php/extensions/no-debug-non-zts-$apiv"
elif [[ "$version" =~ $old_versions ]]; then
if [[ "$version" =~ $old_versions ]]; then
echo "/usr/lib/php5/$apiv"
elif [[ "$version" =~ $nightly_versions ]]; then
elif [[ "$version" =~ 5.3|$nightly_versions ]]; then
echo "/usr/local/php/$version/lib/php/extensions/no-debug-non-zts-$apiv"
else
echo "/usr/lib/php/$apiv"
@@ -17,7 +15,11 @@ darwin_extension_dir() {
if [[ "$version" =~ $old_versions_darwin ]]; then
echo "/opt/local/lib/php${version/./}/extensions/no-debug-non-zts-$apiv"
else
echo "/usr/local/lib/php/pecl/$apiv"
if [[ "$(sysctl -n hw.optional.arm64 2>/dev/null)" = "1" ]]; then
echo "/opt/homebrew/lib/php/pecl/$apiv"
else
echo "/usr/local/lib/php/pecl/$apiv"
fi
fi
}
@@ -91,6 +93,6 @@ else
dir='C:\\tools\\php\\ext'
fi
key="$os"-ext-"$version"-$(echo -n "$extensions-$key" | openssl dgst -sha256 | cut -d ' ' -f 2)
key="$key-20201217"
key="$key-20201231"
echo "::set-output name=dir::$dir"
echo "::set-output name=key::$key"

View File

@@ -1,4 +1,5 @@
[PHP Modules]
amqp
apc
apcu
bcmath
@@ -9,22 +10,28 @@ cubrid
curl
date
dom
enchant
ereg
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
ioncube
intl
json
ldap
libxml
mbstring
mcrypt
memcache
memcached
mongo
mongodb
mysql
mysqli
mysqlnd
@@ -36,9 +43,12 @@ PDO
oci8
PDO_OCI
pdo_mysql
pdo_pgsql
pdo_sqlite
pgsql
Phar
posix
pspell
readline
redis
Reflection
@@ -69,4 +79,3 @@ blackfire
[Zend Modules]
Xdebug

View File

@@ -1,4 +1,5 @@
[PHP Modules]
amqp
apc
apcu
bcmath
@@ -9,34 +10,47 @@ cubrid
curl
date
dom
enchant
ereg
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
ioncube
intl
json
ldap
libxml
mbstring
mcrypt
memcache
memcached
mongo
mongodb
mysql
mysqli
mysqlnd
openssl
pcntl
pcov
pcre
PDO
oci8
PDO_OCI
pdo_mysql
pdo_pgsql
pdo_sqlite
pgsql
Phar
posix
pspell
readline
redis
Reflection
session
shmop
@@ -65,4 +79,3 @@ blackfire
[Zend Modules]
Xdebug

View File

@@ -1,4 +1,5 @@
[PHP Modules]
amqp
apc
apcu
bcmath
@@ -9,35 +10,45 @@ cubrid
curl
date
dom
enchant
ereg
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
ioncube
intl
json
ldap
libxml
mbstring
mcrypt
memcache
memcached
mongo
mongodb
mysql
mysqli
mysqlnd
openssl
pcntl
pcov
pcre
PDO
oci8
PDO_OCI
pdo_mysql
pdo_pgsql
pdo_sqlite
pgsql
Phar
posix
pspell
readline
redis
Reflection
@@ -68,4 +79,3 @@ blackfire
[Zend Modules]
Xdebug