New VM on Centos7, Custombuild PHP 7.2+Zend+Ioncube build issues

prime

New member
Joined
Feb 11, 2018
Messages
5
My VM came with PHP5 and I wanted to upgrade to PHP7.2 with zend and ioncube. After recompile, the script did not work:

Code:
[Sun Feb 11 18:36:27.463720 2018] [php7:error] [pid 26055] [client 213.150.169.65:58600] PHP Fatal error:  The file /home/xxxxx/domains/xxxxxx.com/public_html/access/index.php was encoded by the ionCube Encoder for PHP 5.6 and cannot run under PHP 7.1 or later.\n Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 7.1. in Unknown on line 0

I tried downgrading to PHP7.1, same problem. I prefer not to downgrade to php 7.1. Any advice on what to do here?

Compiling zend separately, produced this error:

Code:
# ./build zend
Downloading		...
/usr/local/directadmin/custombuild/: Is a directory
tar (child): --no-same-owner: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
./build: line 9105: [: -eq: unary operator expected
cp: cannot stat '/ZendGuardLoader.so': No such file or directory
chmod: cannot access '/usr/local/lib/ZendGuardLoader.so': No such file or directory
chown: cannot access '/usr/local/lib/ZendGuardLoader.so': No such file or directory
./build: line 8819: /usr/local/phpmod_php/bin/php-config: No such file or directory
./build: line 8833: /usr/local/phpmod_php/lib/php.conf.d/10-directadmin.ini: No such file or directory

Current php config that is not working with ioncube script:

Code:
[root@pasta custombuild]# nano /usr/local/lib/php.ini 
[root@pasta custombuild]# cat /usr/local/lib/php.ini | grep ioncube
[root@pasta custombuild]# php -i |grep ioncube
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.1.1, Copyright (c) 2002-2017, by ionCube Ltd.
[root@pasta custombuild]# php -v
PHP 7.1.14 (cli) (built: Feb 11 2018 18:35:01) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.1.1, Copyright (c) 2002-2017, by ionCube Ltd.
 
Back
Top