• 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

Resolved Ion Cube loader Update

daanse

Regular Pleskian
Hi,
how can i update Ion Cube Loader?
Seems very old v5.x...

or is it not on Plesk to do this?

I have Plesk 17 and Debian.
 
I do not see it ioncube after update 7.0.14?

# plesk version
Product version: Plesk Onyx 17.0.17 Update #12
Update date: 2016/12/21 04:43
Build date: 2016/11/17 16:00
OS version: CentOS 7.2.1511
Revision: ab6766191d3ba26e7b21255ab007fc7fc56d84c6
Architecture: 64-bit

# /opt/plesk/php/7.0/bin/php -v
PHP 7.0.14 (cli) (built: Dec 8 2016 18:39:53) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v6.0.7, Copyright (c) 2002-2016, by ionCube Ltd.
with Zend OPcache v7.0.14, Copyright (c) 1999-2016, by Zend Technologies

# /opt/plesk/php/5.6/bin/php -v
PHP 5.6.29 (cli) (built: Dec 9 2016 12:07:26)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v6.0.7, Copyright (c) 2002-2016, by ionCube Ltd.
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
 
root@www ~ # plesk version

Product version: Plesk Onyx 17.0.17 Update #11

Update date: 2016/12/20 21:29

Build date: 2016/11/17 16:00

OS version: Debian 8.6

Revision: ab6766191d3ba26e7b21255ab007fc7fc56d84c6

Architecture: 64-bit

Wrapper version: 1.2

root@www ~ # /opt/plesk/php/7.0/bin/php -v

PHP Warning: PHP Startup: Unable to load dynamic library '/opt/plesk/php/7.0/lib/php/modules/memcache.so' - /opt/plesk/php/7.0/lib/php/modules/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0

PHP Warning: PHP Startup: Unable to load dynamic library '/opt/plesk/php/7.0/lib/php/modules/memcache.so' - /opt/plesk/php/7.0/lib/php/modules/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0

PHP 7.0.14 (cli) (built: Dec 8 2016 18:39:26) ( NTS )

Copyright (c) 1997-2016 The PHP Group

Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies

with Zend OPcache v7.0.14, Copyright (c) 1999-2016, by Zend Technologies

root@www ~ # /opt/plesk/php/5.6/bin/php -v

PHP Warning: PHP Startup: Unable to load dynamic library '/opt/plesk/php/5.6/lib/php/modules/memcached.so' - /opt/plesk/php/5.6/lib/php/modules/memcached.so: cannot open shared object file: No such file or directory in Unknown on line 0

PHP Warning: PHP Startup: Unable to load dynamic library '/opt/plesk/php/5.6/lib/php/modules/oauth.so' - /opt/plesk/php/5.6/lib/php/modules/oauth.so: cannot open shared object file: No such file or directory in Unknown on line 0

PHP Warning: PHP Startup: Unable to load dynamic library '/opt/plesk/php/5.6/lib/php/modules/uploadprogress.so' - /opt/plesk/php/5.6/lib/php/modules/uploadprogress.so: cannot open shared object file: No such file or directory in Unknown on line 0

PHP 5.6.29 (cli) (built: Dec 9 2016 12:06:57)

Copyright (c) 1997-2016 The PHP Group

Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies

with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.0.18, Copyright (c) 2002-2015, by ionCube Ltd.

with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

root@www
 
Now that have doing update again but i have PHP Warning: PHP Startu what can i do here?
Code:
root@www ~ # plesk version
Product version: Plesk Onyx 17.0.17 Update #12
    Update date: 2016/12/21 16:55
     Build date: 2016/11/17 16:00
     OS version: Debian 8.6
       Revision: ab6766191d3ba26e7b21255ab007fc7fc56d84c6
   Architecture: 64-bit
Wrapper version: 1.2
root@www ~ # /opt/plesk/php/5.6/bin/php -v
PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/plesk/php/5.6/lib/php/modules/memcached.so' - /opt/plesk/php/5.6/lib/php/modules/memcached.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/plesk/php/5.6/lib/php/modules/oauth.so' - /opt/plesk/php/5.6/lib/php/modules/oauth.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/plesk/php/5.6/lib/php/modules/uploadprogress.so' - /opt/plesk/php/5.6/lib/php/modules/uploadprogress.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.6.29 (cli) (built: Dec  9 2016 12:06:57)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.0.18, Copyright (c) 2002-2015, by ionCube Ltd.
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
root@www ~ # /opt/plesk/php/7.0/bin/php -v
PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/plesk/php/7.0/lib/php/modules/memcache.so' - /opt/plesk/php/7.0/lib/php/modules/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/plesk/php/7.0/lib/php/modules/memcache.so' - /opt/plesk/php/7.0/lib/php/modules/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 7.0.14 (cli) (built: Dec  8 2016 18:39:26) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v6.0.7, Copyright (c) 2002-2016, by ionCube Ltd.
    with Zend OPcache v7.0.14, Copyright (c) 1999-2016, by Zend Technologies
root@www ~ #

Now all ok her :)
root@www / # plesk version
Product version: Plesk Onyx 17.0.17 Update #12
Update date: 2016/12/21 16:55
Build date: 2016/11/17 16:00
OS version: Debian 8.6
Revision: ab6766191d3ba26e7b21255ab007fc7fc56d84c6
Architecture: 64-bit
Wrapper version: 1.2
root@www / # /opt/plesk/php/7.0/bin/php -v
PHP 7.0.14 (cli) (built: Dec 8 2016 18:39:26) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v6.0.7, Copyright (c) 2002-2016, by ionCube Ltd.
with Zend OPcache v7.0.14, Copyright (c) 1999-2016, by Zend Technologies
root@www / # /opt/plesk/php/5.6/bin/php -v
PHP 5.6.29 (cli) (built: Dec 9 2016 12:06:57)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.0.18, Copyright (c) 2002-2015, by ionCube Ltd.
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
root@www / #
 
Last edited:
Not installed on windows server after update it say

OS ‪Microsoft Windows Server 2012 R2‬
Product Plesk Onyx
Version 17.0.17 Update #12, last updated on Dec 23, 2016 02:14 AM

This program makes use of the Zend Scripting Language Engine:
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.14, Copyright (c) 1999-2016, by Zend Technologies
 

Igor, I don't see the ioncube_loader_lin_7.0.so file in any of the php 7 directories and we're on the latest Onyx update.

Just older ioncube files here: /usr/lib64/php/modules
Nothing here: /opt/plesk/php/7.0/lib64/php/modules/

Does the update add the ioncube loader somewhere or do we need to download it and copy the file to the server ourselves? Is the ioncube php 7 update only installed when installing Onyx from scratch? Do we need to reinstall PHP7 on an existing install for the IonCube 7 files to be added?

# /opt/plesk/php/7.0/bin/php -v
PHP 7.0.14 (cli) (built: Dec 8 2016 18:39:53) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.14, Copyright (c) 1999-2016, by Zend Technologies
 
Last edited:
gor, I don't see the ioncube_loader_lin_7.0.so file in any of the php 7 directories and we're on the latest Onyx update.
Do you have the same configuration:

# grep -iR zend /opt/plesk/php/7.0/etc/php.d/00-ioncube-loader.ini
; Enable ionCube Zend extension module
zend_extension=ioncube_loader_lin_7.0.so

# ll /opt/plesk/php/7.0/lib64/php/modules/ioncube_loader_lin_7.0.so
-rw-r--r-- 1 root root 1241296 Dec 13 12:00 /opt/plesk/php/7.0/lib64/php/modules/ioncube_loader_lin_7.0.so

?
 
Nope, the underlined files are missing in /opt/plesk/php/7.0/etc/php.d/00-ioncube-loader.ini and /opt/plesk/php/7.0/lib64/php/modules/ioncube_loader_lin_7.0.so running current Onyx.

I had assumed the recent update to Onyx put the ioncube_loader_lin_7.0.so in the PHP7 directory so it was only a matter of forcing Plesk to see it using # plesk bin php_handler --reread but the loader file isn't there.
 
This module file is a part of following package

# rpm -qf /opt/plesk/php/7.0/lib64/php/modules/ioncube_loader_lin_7.0.so
plesk-php70-ioncube-loader-6.0.7-centos7.16121313.x86_64

Try to reinstall latest update with

# plesk installer --select-release-current --reinstall-patch --upgrade-installed-components
 
Igor, thanks for the reply and advice.

You were correct -- We were missing a micro-update that added the ioncube loader to php7. Thank you again.

Solved.
 
Back
Top