Page 1 of 1

How I can install Ioncube loader?

Posted: Sun 9. Oct 2022, 10:50
by alamis
I use Debian 11

Re: How I can install Ioncube loader?

Posted: Mon 10. Oct 2022, 09:33
by Alexander
Ioncube is already installed.

Or do you mean ioncube for PHP 8.1?

Re: How I can install Ioncube loader?

Posted: Mon 10. Oct 2022, 14:41
by alamis
Alexander wrote: Mon 10. Oct 2022, 09:33 Ioncube is already installed.

Or do you mean ioncube for PHP 8.1?
yes

Re: How I can install Ioncube loader?  [SOLVED]

Posted: Mon 10. Oct 2022, 15:07
by Alexander
1) Download the ioncube loaders from their website.
2) Extract the archive
3) As there is currently a bug in the ioncube loaders of 12.0.2 for PHP < 8.1 - I advise you to do the following:

Only use the 2 files from the achive: ioncube_loader_lin_8.1.so / ioncube_loader_lin_8.1_to.so and put them into /usr/local/ioncube/, next to the other files in that directory. Do not use the other files from the archive, they are buggy!

4) Create a file /opt/keyhelp/php/8.1/etc/conf.d/00-ioncube-loader.ini
With this content:

Code: Select all

; Enable ionCube Zend extension module
; priority=00
zend_extension=/usr/local/ioncube/ioncube_loader_lin_8.1.so
5) Restart the this service: keyhelp-php81-fpm

6) For now, you may want to disable the automatic update under "Configuration -> PHP Interpreter" to prevent the created file from being overwritten with an update of the PHP interpreter.