• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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