• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

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