How I can install Ioncube loader?  [SOLVED]

Discussions about the usage of KeyHelp.
Post Reply
alamis
Posts: 21
Joined: Sat 8. Oct 2022, 21:29

How I can install Ioncube loader?

Post by alamis »

I use Debian 11
User avatar
Alexander
Keyweb AG
Posts: 3810
Joined: Wed 20. Jan 2016, 02:23

Re: How I can install Ioncube loader?

Post by Alexander »

Ioncube is already installed.

Or do you mean ioncube for PHP 8.1?
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
alamis
Posts: 21
Joined: Sat 8. Oct 2022, 21:29

Re: How I can install Ioncube loader?

Post by alamis »

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

Or do you mean ioncube for PHP 8.1?
yes
User avatar
Alexander
Keyweb AG
Posts: 3810
Joined: Wed 20. Jan 2016, 02:23

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

Post 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.
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Post Reply