Ioncube PHP 7.3 CentOS 6.10

We3cares

New member
Joined
Jan 9, 2021
Messages
4
Hello,

We are running centos 6.10 with latest Direct Admin. When we try to use PHP version 7.3 for domain it throws ioncube or Zend error.

Site error: the ionCube PHP Loader needs to be installed.

Thank you
 
Code:
cd /usr/local/directadmin/custombuild
./build ioncube
 
Hello,

Below are the result of that command.

~~~
[root@server custombuild]# ./build ioncube
Downloading ioncube_loaders_lin_x86-64.tar.gz...
--2021-01-09 11:17:55-- http://files18.directadmin.com/services/custombuild/ioncube_10.4.5/ioncube_loaders_lin_x86-64.tar.gz
Resolving files18.directadmin.com... 37.72.98.6
Connecting to files18.directadmin.com|37.72.98.6|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13714677 (13M) [application/x-gzip]
Saving to: `/usr/local/directadmin/custombuild/ioncube_loaders_lin_x86-64.tar.gz'

100%[========================================================================================================================================================================>] 13,714,677 15.0M/s in 0.9s

2021-01-09 11:17:56 (15.0 MB/s) - `/usr/local/directadmin/custombuild/ioncube_loaders_lin_x86-64.tar.gz' saved [13714677/13714677]

./build: line 11791: /usr/local/php74/bin/php-config: No such file or directory
./build: line 11797: /usr/local/php74/lib/php.conf.d/10-directadmin.ini: No such file or directory
ionCube loader 10.4.5 is now installed for PHP 7.0.
ionCube loader 10.4.5 is now installed for PHP 7.2.
ionCube loader 10.4.5 is now installed for PHP 7.3.
Restarting php-fpm74.
Restarting php-fpm70.
Gracefully shutting down php-fpm70: . done
Starting php-fpm70: [09-Jan-2021 11:17:57] WARNING: Nothing matches the include pattern '/usr/local/directadmin/data/users/*/php/php-fpm70.conf' from /usr/local/php70/etc/php-fpm.conf at line 68.
done
Restarting php-fpm72.
Gracefully shutting down php-fpm72: . done
Starting php-fpm72: [09-Jan-2021 11:17:58] WARNING: Nothing matches the include pattern '/usr/local/directadmin/data/users/*/php/php-fpm72.conf' from /usr/local/php72/etc/php-fpm.conf at line 68.
done
Restarting php-fpm73.
Gracefully shutting down php-fpm73: . done
Starting php-fpm73: Failed loading /usr/local/ioncube/ioncube/ioncube_loader_lin_7.3.so: /usr/local/ioncube/ioncube/ioncube_loader_lin_7.3.so: cannot open shared object file: No such file or directory
done
~~~

Thank you
 
1) You seem to have PHP 7.4 set in the options.conf, but it's not built/compiled, run:
Code:
/usr/local/directadmin/custombuild/build php n

2) I think you may have tried to load /usr/local/ioncube/ioncube/ioncube_loader_lin_7.3.so in some config manually, am I right?
 
1) You seem to have PHP 7.4 set in the options.conf, but it's not built/compiled, run:
Code:
/usr/local/directadmin/custombuild/build php n

2) I think you may have tried to load /usr/local/ioncube/ioncube/ioncube_loader_lin_7.3.so in some config manually, am I right?
Having similar issue but on domain level setup of php 7.x and ioncube.
If we select custombuild php version and save in Directadmin GUI it does not run the build or we have to build manually from command line?
 
I tried to rebuild but 7.4 failed and exited.
/usr/local/directadmin/custombuild/php-7.4.14/ext/mbstring/php_mbregex.c:1498: error: 'struct _zend_mb_regex_globals' has no member named 'search_regs'
/usr/local/directadmin/custombuild/php-7.4.14/ext/mbstring/php_mbregex.c:1499: error: 'struct _zend_mb_regex_globals' has no member named 'search_regs'
/usr/local/directadmin/custombuild/php-7.4.14/ext/mbstring/php_mbregex.c:1506: error: 'struct _zend_mb_regex_globals' has no member named 'search_re'
/usr/local/directadmin/custombuild/php-7.4.14/ext/mbstring/php_mbregex.c:1509: error: 'struct _zend_mb_regex_globals' has no member named 'search_str'
/usr/local/directadmin/custombuild/php-7.4.14/ext/mbstring/php_mbregex.c:1510: error: 'struct _zend_mb_regex_globals' has no member named 'search_str'
/usr/local/directadmin/custombuild/php-7.4.14/ext/mbstring/php_mbregex.c:1719: error: 'opt' undeclared (first use in this function)
/usr/local/directadmin/custombuild/php-7.4.14/ext/mbstring/php_mbregex.c:1721: error: too many arguments to function '_php_mb_regex_init_options'
/usr/local/directadmin/custombuild/php-7.4.14/ext/mbstring/php_mbregex.c:1722: warning: implicit declaration of function '_php_mb_regex_set_options'
/usr/local/directadmin/custombuild/php-7.4.14/ext/mbstring/php_mbregex.c:1724: error: 'struct _zend_mb_regex_globals' has no member named 'regex_default_options'
/usr/local/directadmin/custombuild/php-7.4.14/ext/mbstring/php_mbregex.c:1725: error: 'struct _zend_mb_regex_globals' has no member named 'regex_default_syntax'
/usr/local/directadmin/custombuild/php-7.4.14/ext/mbstring/php_mbregex.c:1727: error: too many arguments to function '_php_mb_regex_get_option_string'
make: *** [ext/mbstring/php_mbregex.lo] Error 1
 
Back
Top