php 7.x from 5.6

I am also having same issue. Main OS running 5.6 php and ioncube work fine. But when I change domain level php to 7.4 ioncube files stop working.
Asked developers they saying change the php to 7.x but its is already 7.4
 
check phpinfo for needed php version, is ioncube enabled?
also as I know - different Ioncube versions incompatible, you can check error log, usually you can see something like "this file encoded by ioncube version XX while YY used".
 
Loader version 10.4.5
This is from domain level php 7.4
cannot be run by the ionCube Loader. Please ask the script provider to supply an encoded file that can run on your version of PHP, 5.6. in Unknown on line 0
dont understand why file in domain looking for 5.6 when domain php is 7.4
 
phpinfo show 7.4 and ioncube but whmcs files are looking for server base php1 for php 5.6 but domain is using php4 = 7.4 php
dont understand why whmcs files looking for server php version n file encoded for php5.6
 
php1 for php 5.6
Whatever php1 is set to is the Default command line version. You need to put a php version that is not EOL and compatible with whmcs there.
You need to put 5.6 out to pasture or on some other php#_release

Code:
cd /usr/local/directadmin/custombuild
./build set php1_release 7.4
./build set cat php1_mode php-fpm
./build set ioncube yes
./build set_fastest
./build clean
./build update
./build php
./build php_ioncube
./build rewrite_confs
 
Last edited:
Back
Top