Merge pull request #3074 from bestlong/check-fpm-ioncube
Add php-fpm ioncube install check
This commit is contained in:
commit
50146d5732
@ -39,7 +39,7 @@ COMPOSE_PROJECT_NAME=laradock
|
|||||||
|
|
||||||
# Select a PHP version of the Workspace and PHP-FPM containers (Does not apply to HHVM).
|
# 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
|
# 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 ###########################################
|
### Phalcon Version ###########################################
|
||||||
|
|
||||||
|
@ -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 \
|
&& 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 \
|
&& printf "zend_extension=ioncube_loader.so\n" > $PHP_INI_DIR/conf.d/0ioncube.ini \
|
||||||
&& rm -rf /tmp/ioncube* \
|
&& rm -rf /tmp/ioncube* \
|
||||||
|
&& php -m | grep -oiE '^ionCube Loader$' \
|
||||||
;fi \
|
;fi \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user