Ioncube PHP 7.1 PHP 7.2 CentOS 7

Alan John Fergy

Verified User
Joined
Feb 24, 2009
Messages
27
Location
Germany
Hi folks,

I have a problem with a new fresh (out of the box) installation of the latest directadmin on a Centos 7 server. I've installed PHP 7.1 for the first PHP and the second PHP 7.2 PHP
in the option.conf file ioncube ist set to "yes"
Everything works fine, but checking with phpinfo() only in the 7.1 installation is the ioncube loader available.
Not in the second installation PHP 7.2 ?

After checking

Code:
/usr/local/php72/lib/php.conf.d/10-directadmin.ini

the
Code:
ioncubeloader 7.2.so
is available.

The standard build with
Code:
./build update
./build php n
./build php_ini
Code:
./build ioncube

has no effect!

Please help me!


Alan
 
SOLVED !!!!

The clue was, in the /usr/local/php72/lib/php.conf.d/10-directadmin.ini file
there was the reference to ioncube_loader_lin_7.2.so (non-threadsafe version)
But Custombuild 2.0 have the ThreadSave PHP 7.2 version installed (maybe an error)

I've checked the correct installation with

Code:
cd /usr/local/directadmin/custombuild/
 ./build versions

then the ioncube error appeared

then open the

Code:
/usr/local/php72/lib/php.conf.d/10-directadmin.ini

file and edit to:

Code:
zend_extension=/usr/local/lib/ioncube/ioncube_loader_lin_7.2_ts.so


Everything works fine!!
 
Last edited:
Hi, Help plz!

I have updated all and it keeps giving error


KIkiu2E.png
 
ionCube loader 10.4.1 is now installed for PHP 7.3.
ionCube loader 10.4.1 is now installed for PHP 7.4.
ionCube loader 10.4.1 is now installed for PHP 7.2.
Restarting php-fpm73.
Restarting php-fpm74.
Restarting php-fpm72.
===================================

[root@server custombuild]# ./build versions
Latest version of ionCube: 10.4.1
ionCube loader 0 to 10.4.1 update is available.

I've updated it but it keeps saying an update is available.
 
Back
Top