Thanks that was it.
Just for the sake of completness, I was a bit surprised that I had two ioncube related packages:
php5-ioncube-php52-4.5.0-rhas5x86_64.08052912
php5-ioncube-loader-3.1-07051711
So doing a bit more of research I found that one is for the "general public" php and the other is for the Plesk stuff.
For Plesk
[root@uro ~]# rpm -qil php5-ioncube-php52-4.5.0-rhas5x86_64.08052912
Name : php5-ioncube-php52 Relocations: (not relocatable)
Version : 4.5.0 Vendor: (none)
Release : rhas5x86_64.08052912 Build Date: Thu 29 May 2008 12:50:09 AM CDT
Install Date: Sat 07 Feb 2009 12:21:25 PM CST Build Host: rhel5-build-64.sbvz2.plesk.ru
Group : Development/Languages Source RPM: php5-ioncube-4.5.0-rhas5x86_64.08052912.src.rpm
Size : 871179 License: ioncube
Signature : (none)
Packager : SWSoft <
info@swsoft.com>
Summary : ioncube loader for php 5.2
Description :
ionCube loader for php 5.2
/opt/php52/etc/php.d/ioncube_loader.ini
/opt/php52/lib/php/modules/ioncube_loader_lin_5.2_x86_64.so
For the "general public"
[root@uro ~]# rpm -qil php5-ioncube-loader-3.1-07051711
Name : php5-ioncube-loader Relocations: (not relocatable)
Version : 3.1 Vendor: (none)
Release : 07051711 Build Date: Wed 16 May 2007 11:58:05 PM CDT
Install Date: Sat 07 Feb 2009 12:10:58 PM CST Build Host: rhel5-build-64.sbvz2.plesk.ru
Group : Development/Languages Source RPM: php5-ioncube-loader-3.1-07051711.src.rpm
Size : 2042560 License: ionCube
Signature : (none)
Packager : SWSoft <
info@swsoft.com>
Summary : PHP ionCube Loader
Description :
This package provides PHP ionCube Loader for native PHP 5.[012]
/usr/lib64/php/modules
/usr/lib64/php/modules/php_ioncube_loader_lin_5.0_x86_64.so
/usr/lib64/php/modules/php_ioncube_loader_lin_5.1_x86_64.so
/usr/lib64/php/modules/php_ioncube_loader_lin_5.2_x86_64.so
And the thing was that even if the correct version was installed /usr/lib64/php/modules/php_ioncube_loader_lin_5.2_x86_64.so it was not the one that been used in the configuration file:
/etc/php.d/ioncube-loader.ini
So, correcting the reference there did the trick.
BTW a funny thing is that /etc/php.d/ioncube-loader.ini is not own by any package.
[root@uro ~]# rpm -qf /etc/php.d/ioncube-loader.ini
file /etc/php.d/ioncube-loader.ini is not owned by any package