mirror of
https://github.com/teddysun/lamp.git
synced 2026-04-04 11:48:30 +00:00
Update comments
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 <i@teddysun.com>
This commit is contained in:
10
README.md
10
README.md
@@ -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 |
|
||||
@@ -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 |
|
||||
|-------------------------------|-----------------------------------------------------------|
|
||||
|
||||
@@ -482,7 +482,7 @@ Options:
|
||||
}
|
||||
|
||||
display_version(){
|
||||
echo "Version: $(_green 20221015)"
|
||||
echo "Version: $(_green 20221115)"
|
||||
}
|
||||
|
||||
#Run it
|
||||
|
||||
@@ -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"
|
||||
@@ -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"
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
10
lamp.sh
10
lamp.sh
@@ -30,7 +30,7 @@ include(){
|
||||
}
|
||||
|
||||
version(){
|
||||
_info "Version: $(_green 20221015)"
|
||||
_info "Version: $(_green 20221115)"
|
||||
}
|
||||
|
||||
show_parameters(){
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user