• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Cannot load the ionCube PHP Loader - it was already loaded

Zen

New Pleskian
Hello, I hope I find the solution here, I have spent many days to find out but can not do.

I have problems with ionCube PHP Loader. I installed and according to the message from loader-wizard.php I have successfully installed

Screenshot

nginx version: nginx/1.14.0

But when I check the php-v command
I get this message.
Screenshot

00-ioncube.ini and php.ini my will have for the dither functions that it need

zend_extension = /usr/lib64/php/modules/ioncube/ioncube_loader_lin_7.2.so

Can you show me how to fix the problem "Can not load the ionCube PHP Loader - it was already loaded"

I thank you very much
 
Last edited:
You need to run your "hosting" version of PHP like:

# /opt/plesk/php/7.2/bin/php -v

instead of PHP version from OS vendor as you did it with:

# php -v
 
Well. If we talk about Plesk hosting, you have your own PHP version for your site which can be defined in your site settings. Physically all these "hosting" PHP versions located in /opt/plesk/php/ directory:

# ls -la /opt/plesk/php/
total 40
drwxr-xr-x 10 root root 4096 May 8 02:48 .
drwxr-xr-x 6 root root 4096 May 8 02:58 ..
drwxr-xr-x 7 root root 4096 May 8 02:51 5.2
drwxr-xr-x 7 root root 4096 May 8 02:51 5.3
drwxr-xr-x 8 root root 4096 May 8 02:52 5.4
drwxr-xr-x 8 root root 4096 May 8 02:52 5.5
drwxr-xr-x 8 root root 4096 May 8 02:52 5.6
drwxr-xr-x 8 root root 4096 May 8 02:52 7.0
drwxr-xr-x 8 root root 4096 May 8 02:52 7.1
drwxr-xr-x 8 root root 4096 May 8 02:52 7.2

# ls -la /opt/plesk/php/7.1/
total 32
drwxr-xr-x 8 root root 4096 May 8 02:52 .
drwxr-xr-x 10 root root 4096 May 8 02:48 ..
drwxr-xr-x 2 root root 4096 May 8 02:51 bin
drwxr-xr-x 4 root root 4096 May 8 02:52 etc
drwxr-xr-x 3 root root 4096 May 8 02:48 lib64
drwxr-xr-x 2 root root 4096 May 8 02:52 sbin
drwxr-xr-x 7 root root 4096 May 8 02:51 share
drwxr-xr-x 4 root root 4096 May 8 02:51 var

So, each of these PHP versions has own php settings in the corresponding etc directory. For example:

# ls -la /opt/plesk/php/7.1/etc/
total 100
drwxr-xr-x 4 root root 4096 May 8 02:52 .
drwxr-xr-x 8 root root 4096 May 8 02:52 ..
-rw-r--r-- 1 root root 1221 Apr 27 09:23 pear.conf
drwxr-xr-x 2 root root 4096 May 8 02:52 php.d
-rw-r--r-- 1 root root 4117 Apr 27 09:22 php-fpm.conf
drwxr-xr-x 2 root root 4096 Apr 27 09:22 php-fpm.d
-rw-r--r-- 1 root root 71070 Apr 27 09:22 php.ini

where ioncube loader for this version is defined. For example:

# cat /opt/plesk/php/7.1/etc/php.d/00-ioncube-loader.ini
; Enable ionCube Zend extension module
zend_extension=ioncube_loader_lin_7.1.so

And we have system php version from OS vendor:

# /usr/bin/php

with settings in /etc/php..
So, check PHP version of your site and corresponding settings of this PHP version.
 
I'm talking about personal VPS. Can you help me ?

Did you ever get around to fixing this?

It has been covered by multiple other forums etc. The Plesk article covers it...
 
Back
Top