Merge pull request #3074 from bestlong/check-fpm-ioncube

Add php-fpm ioncube install check
This commit is contained in:
Shao Yu-Lung (Allen) 2021-10-09 12:03:28 +08:00 committed by GitHub
commit 50146d5732
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,7 @@ COMPOSE_PROJECT_NAME=laradock
# Select a PHP version of the Workspace and PHP-FPM containers (Does not apply to HHVM).
# Accepted values: 8.0 - 7.4 - 7.3 - 7.2 - 7.1 - 7.0 - 5.6
PHP_VERSION=7.3
PHP_VERSION=7.4
### Phalcon Version ###########################################

View File

@ -636,6 +636,7 @@ RUN if [ ${INSTALL_IONCUBE} = true ]; then \
&& mv /tmp/ioncube/ioncube_loader_lin_${LARADOCK_PHP_VERSION}.so $(php -r "echo ini_get('extension_dir');")/ioncube_loader.so \
&& printf "zend_extension=ioncube_loader.so\n" > $PHP_INI_DIR/conf.d/0ioncube.ini \
&& rm -rf /tmp/ioncube* \
&& php -m | grep -oiE '^ionCube Loader$' \
;fi \
;fi