I think I hit a bug.
New debian wheezy server with Plesk 12.0.18 Update #24 and ioncube:
# php -v
PHP 5.4.35-0+deb7u1 (cli) (built: Nov 18 2014 06:49:05)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
with the ionCube PHP Loader v4.6.0, Copyright (c) 2002-2014, by ionCube Ltd.
A developer of our compay tries an ioncube app on this server and fails(exact message in a little while).
The same app worked on a debian squeeze server with 11.5.30 Update #48 with ioncube:
# php -v
PHP 5.3.3-7+squeeze22 with Suhosin-Patch (cli) (built: Sep 29 2014 22:01:30)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd.
with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH
We search in forums etc and lastly we get a response from ioncube:
Hi
The version of ionCube loaders you have installed (v4.6.0) was a problematic release that should not be used. From phpinfo:
with the ionCube PHP Loader v4.6.0, Copyright (c) 2002-2014, by ionCube Ltd.
You need to update the loader to the latest version.
So, I just downloaded the loader from ioncube's site and replaced the files on my server:
/usr/lib/php5/20100525/ioncube_loader_lin_5.1.so
/usr/lib/php5/20100525/ioncube_loader_lin_5.3.so
/usr/lib/php5/20100525/ioncube_loader_lin_5.5.so
/usr/lib/php5/20100525/ioncube_loader_lin_5.2.so
/usr/lib/php5/20100525/ioncube_loader_lin_5.4.so
Now php -v gives:
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
with the ionCube PHP Loader v4.7.1, Copyright (c) 2002-2014, by ionCube Ltd.
and the app works.
So the default plesk installation for ioncube (which is I guess php5-ioncube-loader package) is broken.
Could this be fixed?
Thanks!
Giorgos
New debian wheezy server with Plesk 12.0.18 Update #24 and ioncube:
# php -v
PHP 5.4.35-0+deb7u1 (cli) (built: Nov 18 2014 06:49:05)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
with the ionCube PHP Loader v4.6.0, Copyright (c) 2002-2014, by ionCube Ltd.
A developer of our compay tries an ioncube app on this server and fails(exact message in a little while).
The same app worked on a debian squeeze server with 11.5.30 Update #48 with ioncube:
# php -v
PHP 5.3.3-7+squeeze22 with Suhosin-Patch (cli) (built: Sep 29 2014 22:01:30)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd.
with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH
We search in forums etc and lastly we get a response from ioncube:
Hi
The version of ionCube loaders you have installed (v4.6.0) was a problematic release that should not be used. From phpinfo:
with the ionCube PHP Loader v4.6.0, Copyright (c) 2002-2014, by ionCube Ltd.
You need to update the loader to the latest version.
So, I just downloaded the loader from ioncube's site and replaced the files on my server:
/usr/lib/php5/20100525/ioncube_loader_lin_5.1.so
/usr/lib/php5/20100525/ioncube_loader_lin_5.3.so
/usr/lib/php5/20100525/ioncube_loader_lin_5.5.so
/usr/lib/php5/20100525/ioncube_loader_lin_5.2.so
/usr/lib/php5/20100525/ioncube_loader_lin_5.4.so
Now php -v gives:
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
with the ionCube PHP Loader v4.7.1, Copyright (c) 2002-2014, by ionCube Ltd.
and the app works.
So the default plesk installation for ioncube (which is I guess php5-ioncube-loader package) is broken.
Could this be fixed?
Thanks!
Giorgos