Hey Guys,
I’ve been trying to install ioncube on EE4 and used the following docker file.
FROM php:7.2-fpm
RUN set -ex; \
\
curl --connect-timeout 10 -o ioncube.tar.gz -fkSL "https://www.ioncube.com/php-7.2.0-beta-loaders/ioncube_loaders_lin_x86-64_BETA.tar.gz"; \
tar -zxvf ioncube.tar.gz; \
cp ioncube_loader_lin_7.2_10.1.0_beta.so /usr/local/lib/php/extensions/no-debug-non-zts-20170718/ioncube.so; \
rm -Rf ioncube*; \
echo "zend_extension=ioncube.so" > /usr/local/etc/php/conf.d/01-ioncube.ini;
docker build .
The script succeeds and I restart my site with following command:
ee site restart site.com
But on my phpinfo.php page I don’t see ioncube being enabled and no mention of the 01-ioncube.ini file.
I am new to docker and easyengine and I am pretty sure I am missing something right now.
Any help is greatly appreciated.
Shahriar