Created
May 4, 2017 07:30
-
-
Save kubaceg/f116bf85ed9257e2b3099941bca309b1 to your computer and use it in GitHub Desktop.
Docker install ioncube extension (php 5.6)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RUN curl -o ioncube.tar.gz http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz \ | |
&& tar -xvvzf ioncube.tar.gz \ | |
&& mv ioncube/ioncube_loader_lin_5.6.so `php-config --extension-dir` \ | |
&& rm -Rf ioncube.tar.gz ioncube \ | |
&& docker-php-ext-enable ioncube_loader_lin_5.6 |
tanks it's work
if someone is experiencing the problem with "Failed loading Zend extension" try use script from here https://dev.to/devtronic/ioncube-loader-in-docker-55n1 but do not forget change php version to yours in line LOADER_FILE=$(ls ioncube/*8.3*.so | cat)
here
Helped me!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get this error:
UPDATE: I've fixed it, the issue was that the version of the PHP I was using was higher(7.4) and not compatible with ioncube version 5.6. So I used ioncube version 7.4:
and it's now fixed 🥳. Thank you @kubaceg.