• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Resolved Different php version with different ioncube version

Stergios G

Basic Pleskian
Server operating system version
AlmaLinux 8.5
Plesk version and microupdate number
Plesk Obsidian Version 18.0.41
Here is my problem,
when i run a command in Plesk console (almost any command) i get back the error:

Failed loading /usr/lib64/php/modules/ioncube_loader_lin_7.4.so: /usr/lib64/php/modules/ioncube_loader_lin_7.4.so: undefined symbol: zend_string_init_interned

I use php7.2 but Plesk try to load ioncube for php 7.4. Here an example:

[root@hs23 httpdocs]# php -v
Failed loading /usr/lib64/php/modules/ioncube_loader_lin_7.4.so: /usr/lib64/php/modules/ioncube_loader_lin_7.4.so: undefined symbol: zend_string_init_interned
PHP 7.2.34 (cli) (built: Oct 24 2022 08:12:34) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with the ionCube PHP Loader + ionCube24 v12.0.2, Copyright (c) 2002-2022, by ionCube Ltd.
with Zend OPcache v7.2.34, Copyright (c) 1999-2018, by Zend Technologies
I tried to understand in which point Plesk select ioncube version.
I read a lot of similar post inside here (with orders php versions), but I could not to find a solution that works for me.
Any help will be nice.
 
I found the solution for my problem:
in etc/php.d/00-ioncube-loader.ini there was a line with this
; comment out next line to disable ionCube Zend extension in php
zend_extension=/usr/lib64/php/modules/ioncube_loader_lin_7.4.so
I change this: ioncube_loader_lin_7.4.so with this: ioncube_loader_lin_7.2.so
then i had the error:
Cannot load the ionCube PHP Loader - it was already loaded
so i comment line with zend_extension and problem solved
; comment out next line to disable ionCube Zend extension in php
; zend_extension=/usr/lib64/php/modules/ioncube_loader_lin_7.4.so
 
Back
Top