Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
Update ionCube Loader to version 12.0.2;
Update ImageMagick to version 7.1.0-52;
Update PHP mongodb extension to version 1.14.2;
Update PHP xdebug extension to version 3.1.6;
Update PHP phalcon extension to version  5.1.1;
Bump version 20221115

Signed-off-by: Teddysun <[email protected]>
  • Loading branch information
teddysun committed Nov 15, 2022
1 parent 0ef6d4f commit 645958f
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 20 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@
| PHP & Additional extensions | Version |
|-------------------------------|-----------------------------------------------------------|
| PHP | 7.4.33, 8.0.25, 8.1.12 |
| ionCube Loader | 12.0.1 |
| ionCube Loader | 12.0.2 |
| PDFlib | 10.0.0 |
| APCu extension | 5.1.21 |
| gRPC extension | 1.45.0 |
| ImageMagick | 7.1.0-50 |
| ImageMagick | 7.1.0-52 |
| imagick extension | 3.7.0 |
| libsodium | 1.0.18 |
| libsodium extension | 2.0.23 |
Expand All @@ -82,14 +82,14 @@
| re2c | 3.0 |
| redis | 5.0.14 |
| redis extension | 5.3.7 |
| mongodb extension | 1.13.0 |
| mongodb extension | 1.14.2 |
| swoole extension | 4.8.12 |
| yaf extension | 3.3.5 |
| yar extension | 2.3.2 |
| msgpack extension | 2.1.2 |
| psr extension | 1.2.0 |
| phalcon extension | 4.1.2 |
| xdebug extension | 3.1.3 |
| phalcon extension | 5.1.1 |
| xdebug extension | 3.1.6 |

| Database Management Tools | Version |
|-------------------------------|-----------------------------------------------------------|
Expand Down
2 changes: 1 addition & 1 deletion conf/lamp
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ Options:
}

display_version(){
echo "Version: $(_green 20221015)"
echo "Version: $(_green 20221115)"
}

#Run it
Expand Down
16 changes: 8 additions & 8 deletions include/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,11 @@ pdflib64_filename_url="https://www.pdflib.com/binaries/PDFlib/1000/PDFlib-10.0.0
swoole_filename="swoole-4.8.12"
swoole_filename_url="https://pecl.php.net/get/swoole-4.8.12.tgz"
#php extension xdebug
xdebug_filename="xdebug-3.1.3"
xdebug_filename_url="https://pecl.php.net/get/xdebug-3.1.3.tgz"
xdebug_filename="xdebug-3.1.6"
xdebug_filename_url="https://pecl.php.net/get/xdebug-3.1.6.tgz"
#ImageMagick
ImageMagick_filename="ImageMagick-7.1.0-50"
ImageMagick_filename_url="https://imagemagick.org/archive/ImageMagick-7.1.0-50.tar.gz"
ImageMagick_filename="ImageMagick-7.1.0-52"
ImageMagick_filename_url="https://imagemagick.org/archive/ImageMagick-7.1.0-52.tar.gz"
#php extension imagick
php_imagemagick_filename="imagick-3.7.0"
php_imagemagick_filename_url="https://pecl.php.net/get/imagick-3.7.0.tgz"
Expand All @@ -169,8 +169,8 @@ redis_filename_url="http://download.redis.io/releases/redis-5.0.14.tar.gz"
php_redis_filename="redis-5.3.7"
php_redis_filename_url="https://pecl.php.net/get/redis-5.3.7.tgz"
#php extension mongodb
php_mongo_filename="mongodb-1.13.0"
php_mongo_filename_url="https://pecl.php.net/get/mongodb-1.13.0.tgz"
php_mongo_filename="mongodb-1.14.2"
php_mongo_filename_url="https://pecl.php.net/get/mongodb-1.14.2.tgz"
#libsodium
libsodium_filename="libsodium-1.0.18"
libsodium_filename_url="https://download.libsodium.org/libsodium/releases/libsodium-1.0.18.tar.gz"
Expand All @@ -184,8 +184,8 @@ yaf_filename_url="https://pecl.php.net/get/yaf-3.3.5.tgz"
psr_filename="psr-1.2.0"
psr_filename_url="https://pecl.php.net/get/psr-1.2.0.tgz"
#php extension phalcon
phalcon_filename="phalcon-4.1.2"
phalcon_filename_url="https://pecl.php.net/get/phalcon-4.1.2.tgz"
phalcon_filename="phalcon-5.1.1"
phalcon_filename_url="https://pecl.php.net/get/phalcon-5.1.1.tgz"
#php extension apcu
apcu_filename="apcu-5.1.21"
apcu_filename_url="https://pecl.php.net/get/apcu-5.1.21.tgz"
Expand Down
6 changes: 4 additions & 2 deletions include/php-modules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@ php_modules_preinstall_settings(){
echo "${php} available modules:"
# Delete some modules (PHP 8 not support now) & change some module version
if [[ "${php}" =~ ^php-8.[0-1].+$ ]]; then
php_modules_arr=(${php_modules_arr[@]#${phalcon_filename}})
php_modules_arr=(${php_modules_arr[@]#${ionCube_filename}})
php_modules_arr=(${php_modules_arr[@]#${php_memcached_filename}})
fi
if [[ "${php}" =~ ^php-8.0.+$ ]]; then
php_modules_arr=(${php_modules_arr[@]#${ionCube_filename}})
fi
if [[ "${php}" =~ ^php-8.1.+$ ]]; then
php_modules_arr=(${php_modules_arr[@]#${phalcon_filename}})
php_modules_arr=(${php_modules_arr[@]#${php_libsodium_filename}})
fi
display_menu_multi php_modules last
Expand Down
10 changes: 6 additions & 4 deletions lamp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ include(){
}

version(){
_info "Version: $(_green 20221015)"
_info "Version: $(_green 20221115)"
}

show_parameters(){
Expand Down Expand Up @@ -210,12 +210,14 @@ set_parameters(){
[ "${php}" == "do_not_install" ] && php_modules_install="do_not_install"
if [ -n "${php_modules_install}" ]; then
if [[ "${php}" =~ ^php-8.[0-1].+$ ]]; then
if_in_array "${phalcon_filename}" "${php_modules_install}" && _error "${phalcon_filename} is not support ${php}, please remove php extension: phalcon"
if_in_array "${ionCube_filename}" "${php_modules_install}" && _error "${ionCube_filename} is not support ${php} now, please remove php extension: ioncube"
if_in_array "${php_memcached_filename}" "${php_modules_install}" && _error "${php_memcached_filename} is not support ${php} now, please remove php extension: memcached"
fi
if [[ "${php}" =~ ^php-8.0.+$ ]]; then
if_in_array "${ionCube_filename}" "${php_modules_install}" && _error "${ionCube_filename} is not support ${php} now, please remove php extension: ioncube"
fi
if [[ "${php}" =~ ^php-8.1.+$ ]]; then
if_in_array "${php_libsodium_filename}" "${php_modules_install}" && _error "${php_libsodium_filename} is not support ${php}, please remove php extension: libsodium"
if_in_array "${phalcon_filename}" "${php_modules_install}" && _error "${phalcon_filename} is not support ${php} now, please remove php extension: phalcon"
if_in_array "${php_libsodium_filename}" "${php_modules_install}" && _error "${php_libsodium_filename} is not support ${php} now, please remove php extension: libsodium"
fi
fi

Expand Down

0 comments on commit 645958f

Please sign in to comment.