• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Problem with ioncube on new debian wheezy server

GiorgosP1

New Pleskian
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
 
Hi GiorgosP1,

Plesk itself isn't shipped with PHP. In fact, it uses the installed PHP - version, which you installed either over your vendor, or how ever you decided to install your server. Please make sure, that you update/upgrade/patch your operating system, as well the included packages on your very own.
 
OK, I think I got it. So about the ioncube version shipped in the package php5-ioncube-loader I should blame my hosting provider which set up my server with plesk as well other packages. Thanks!
 
Back
Top