Control Web Panel
WebPanel => PHP => Topic started by: Starburst on September 29, 2020, 01:48:33 AM
-
This is on CentOS 7 with CWPpro 0.9.8.1009
Just tried to enable PHP 7.4.10, compile went OK, CWP shows IonCube Installed under PHP Addons
But am getting the error:
Failed loading /usr/local/ioncube/ioncube_loader_lin_7.4.so: /usr/local/ioncube/ioncube_loader_lin_7.4.so: cannot open shared object file: No such file or directory
Tried rebuilding PHP and also Removing and Installing IonCube thru CWP. No joy.
Need IonCube for WHMCS.
Whole Complete output from php -v:
php -v
Failed loading /usr/local/ioncube/ioncube_loader_lin_7.4.so: /usr/local/ioncube/ioncube_loader_lin_7.4.so: cannot open shared object file: No such file or directory
PHP 7.4.10 (cli) (built: Sep 29 2020 01:40:02) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
-
So it looks like CWP is using IonCube PHP Loader 10.3.9, which is an old version.
10.4.3 is the current version, and 10.4.0 supports PHP 7.4.x
-
If anyone else has this problem, Resolved the problem by using PHP Switched 2 to change over to PHP 7.4.10, and then manually downloading and copying the missing IonCube files over.
If you copy the files 1st them change PHP version, the script will delete the files. :/