php-fpm: add ionCube Loader enabled check
This commit is contained in:
parent
9a451684f2
commit
d5e990caba
@ -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