• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved ioncube loader not loaded unable to install softacoulus extension

MiTo

Basic Pleskian
Hi Folks

I tried to install Softacoulus extension but i got that error msg

upload_2017-5-16_13-36-44.png

So i tried to help myself with that:

IonCube loader is not available in PHP 7

but again:

upload_2017-5-16_13-37-17.png

no idea what is wrong, i followed the article step by step.

searched the forum aleady but didn't found any solution for me.

is there maybe a special position in the php.ini where i have to place the entry ?
 
What is version of PHP do you have enabled for domain where Softacoulus is installed?
Do you have line like

with the ionCube PHP Loader (enabled)

in the output of command

# /opt/plesk/php/x.x/bin/php -v

where x.x is version of your PHP?
 
as the iocube package includes them i did that with all php versions in every php folder and ini...to make it sure
 
Well, as i said i did all as in the support article written. And i did it for each php version. The right loader version and made the entry in the php.ini as guided in the article.
But it doesn't get loaded at all...
 
Btw.

Server runs on UBUNTU 16.04 LTS with Plesk 17.5.3 Update #5

It's a quite new and fresh installed server.
 
This article is about Plesk PHPs, but you are talking about
But the server and plesk runs on php 7 vendor
Vendor's PHP is /usr/bin/php
I see following on my test Plesk 17.5 version:

[root@vps-1034016-9640 ~]# /opt/plesk/php/7.0/bin/php -v | grep ionCube
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v6.0.7, Copyright (c) 2002-2016, by ionCube Ltd.

[root@vps-1034016-9640 ~]# /opt/plesk/php/5.6/bin/php -v | grep ionCube
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v6.0.7, Copyright (c) 2002-2016, by ionCube Ltd.

[root@vps-1034016-9640 ~]# /usr/bin/php -v | grep ionCube
with the ionCube PHP Loader v4.6.0, Copyright (c) 2002-2014, by ionCube Ltd.
 
Thx @IgorG for your help.
Sorry, i need a break...work already 11 h today. I am really done today...
I will post some more info and query outputs later on or tomorow. Softacoulus is not that urgent.
 
Ok, could localize the problem i guess

While ioncube gets loaded in normal php 7.0.x

/$ /opt/plesk/php/7.0/bin/php -v
Cannot load the ionCube PHP Loader - it was already loaded
PHP 7.0.19 (cli) (built: May 11 2017 19:53:41) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v6.0.9, Copyright (c) 2002-2016, by ionCube Ltd.
with Zend OPcache v7.0.19, Copyright (c) 1999-2017, by Zend Technologies

It seems that it doesn't get loaded in the vendor php 7.0.x which i guess is used by the softacoulus installer...

/usr/bin$ /usr/bin/php -v
PHP 7.0.15-0ubuntu0.16.04.4 (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.15-0ubuntu0.16.04.4, Copyright (c) 1999-2017, by Zend Technologies

I went to Tools & Settings - PHP Settings and checked every single php.ini and the command line was everywhere included. Just the vendor php doesn't load it.
Is there a special path where i have to copy the module for the vendor php ?
 
btw....seems the vendor php misses A LOT of extensions. I cannot install a single package from softacoulus....bcs it complains the lack of extensions such as myscipt, intl, zip....and so on... These extensions are all installed and work fine with all the other php versions. how can i switch plesk to use them instead ?
 
Do you have these modules listed in the output of

# /usr/bin/php -m

?
 
Nope...

/usr/lib$ /usr/bin/php -m
[PHP Modules]
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
imap
ionCube Loader
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zlib

[Zend Modules]
Zend OPcache
the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured)


But in the non-vendor php 7.0.x they are all here so they are installed on the server.
They are just not loaded in the vendor version which means -that i learned with ioncube loader- there are no entries in 4 .ini files for the vendor version...

upload_2017-5-18_9-47-8.png
 
is its possible to tell plesk o use another php version ? Or do i have to do all the updates and entries ?
 
Back
Top