• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

[warn-phpd] The ionCube PHP Loader is disabled because of startup problems

G

giuseppes

Guest
Hi to all,
i'm having problems with ioncube on my plesk 10.1.1 - Linux 2.6.18-028stab092.1
and don't know how to find the solution.
I'm running some component on joomla that needs ioncube to works with apache in fast-cgi

php -v
PHP Warning: Module 'ionCube Loader' already loaded in Unknown on line 0
The ionCube PHP Loader is disabled because of startup problems.
PHP 5.2.4-2ubuntu5.18 with Suhosin-Patch 0.9.6.2 (cli) (built: Oct 15 2011 15:18:31)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with the ionCube PHP Loader v3.1.33, Copyright (c) 2002-2007, by ionCube Ltd., and


Any suggestion?
Thanks in advance for the attention to all.
Regards,
Jamaladen
 
And when i perform a force-reload of apache i have this system error but all website are working well:

PHP Warning: PHP Startup: Unable to load dynamic library './imap.so' - ./imap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './curl.so' - ./curl.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './gd.so' - ./gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './mysql.so' - ./mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './mysqli.so' - ./mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './pdo.so' - ./pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './pdo_mysql.so' - ./pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './pdo_sqlite.so' - ./pdo_sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './snmp.so' - ./snmp.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './sqlite.so' - ./sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './xsl.so' - ./xsl.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: Module 'ionCube Loader' already loaded in Unknown on line 0
PHP Warning: Module 'ionCube Loader' already loaded in Unknown on line 0
 
I might recommend going ahead and upgrading to 10.4.4 or latest current version of Plesk. Then troubleshoot to figure out why the error is occurring.. I would also check your configuration to see why the *.so files are not available. Can you locate these files on disk? Does the config point to these files? as it looks like it is pointing to ./ not /usr/lib/php/modules/ or something similar.
 
Hi, thanks for your response.
Where i need to write the correct path of the php library position? I see that there are some version of the same library located in two different folder, anyone know whois the correct folder to use?
Thanks for the attention.


Yes i can locate the files: root@vps1:/usr/lib/php5/20060613# ls
curl.so imap.so mysql.so pdo.so pdo_sqlite.so sqlite.so
gd.so ioncube_loader_lin_5.2.so mysqli.so pdo_mysql.so snmp.so xsl.so


And

root@vps1:/usr/lib/php5/20060613# locate ioncube
/restore/opt/psa/var/cgitory/mailer-6.3-4/htdocs/ioncube
/restore/opt/psa/var/cgitory/mailer-6.3-4/htdocs/ioncube/ioncube_loader_win_5.0.dll
/restore/opt/psa/var/cgitory/mailer-6.3-4/htdocs/ioncube/README.txt
/restore/opt/psa/var/cgitory/mailer-6.3-4/htdocs/ioncube/ioncube-encoded-file.php
/restore/opt/psa/var/cgitory/mailer-6.3-4/htdocs/ioncube/ioncube_loader_win_4.4.dll
/restore/opt/psa/var/cgitory/mailer-6.3-4/htdocs/ioncube/ioncube_loader_win_5.2.dll
/restore/opt/psa/var/cgitory/mailer-6.3-4/htdocs/ioncube/ioncube_loader_win_5.1.dll
/restore/opt/psa/var/cgitory/mailer-6.3-4/htdocs/ioncube/LICENSE.txt
/restore/opt/psa/var/cgitory/mailer-6.3-4/htdocs/ioncube/ioncube_loader_win_4.1.dll
/restore/opt/psa/var/cgitory/mailer-6.3-4/htdocs/ioncube/ioncube_loader_win_4.3.dll
/restore/opt/psa/var/cgitory/mailer-6.3-4/htdocs/ioncube/ioncube_loader_win_4.2.dll
/restore/opt/psa/var/cgitory/mailer-6.3-4/htdocs/ioncube/ioncube-loader-helper.php
/restore/opt/psa/var/cgitory/mailer-6.3-4/htdocs/ioncubetest.php
+/restore/opt/psa/var/cgitory/cubecart-4.2.0-2/htdocs/ioncube
/restore/opt/psa/var/cgitory/cubecart-4.2.0-2/htdocs/ioncube/index.htm
/restore/php5/conf.d/ioncube-loader-5.2.ini
/restore/php5/conf.d/ioncube-loader.ini
/usr/lib/php/modules/sw-engine/ioncube_loader_lin_5.2.so
/usr/lib/php5/ioncube_loader_lin_5.2_x86_64.so
/usr/lib/php5/ioncube
/usr/lib/php5/ioncube/ioncube_loader_lin_5.0_ts.so
/usr/lib/php5/ioncube/ioncube_loader_lin_4.4.so
/usr/lib/php5/ioncube/README.txt
/usr/lib/php5/ioncube/ioncube_loader_lin_5.1_ts.so
/usr/lib/php5/ioncube/ioncube_loader_lin_4.4_ts.so
/usr/lib/php5/ioncube/ioncube_loader_lin_5.3.so
/usr/lib/php5/ioncube/loader-wizard.php
/usr/lib/php5/ioncube/ioncube_loader_lin_5.3_ts.so
/usr/lib/php5/ioncube/ioncube_loader_lin_5.2.so
/usr/lib/php5/ioncube/LICENSE.txt
/usr/lib/php5/ioncube/ioncube_loader_lin_4.3.so
/usr/lib/php5/ioncube/ioncube_loader_lin_5.0.so
/usr/lib/php5/ioncube/ioncube_loader_lin_4.2.so
/usr/lib/php5/ioncube/ioncube_loader_lin_5.2_ts.so
/usr/lib/php5/ioncube/ioncube_loader_lin_4.1.so
/usr/lib/php5/ioncube/ioncube_loader_lin_4.3_ts.so
/usr/lib/php5/ioncube/ioncube_loader_lin_5.1.so
/usr/lib/php5/20060613/ioncube_loader_lin_5.2.so
/usr/lib/php5/ioncube_loaders_lin_x86.tar.gz
/root/ioncube_loaders_lin_x86-64.tar.gz
/opt/psa/var/cgitory/mailer-6.3-4/htdocs/ioncube
/opt/psa/var/cgitory/mailer-6.3-4/htdocs/ioncube/ioncube_loader_win_5.0.dll
/opt/psa/var/cgitory/mailer-6.3-4/htdocs/ioncube/README.txt
/opt/psa/var/cgitory/mailer-6.3-4/htdocs/ioncube/ioncube-encoded-file.php
/opt/psa/var/cgitory/mailer-6.3-4/htdocs/ioncube/ioncube_loader_win_4.4.dll
/opt/psa/var/cgitory/mailer-6.3-4/htdocs/ioncube/ioncube_loader_win_5.2.dll
/opt/psa/var/cgitory/mailer-6.3-4/htdocs/ioncube/ioncube_loader_win_5.1.dll
/opt/psa/var/cgitory/mailer-6.3-4/htdocs/ioncube/LICENSE.txt
/opt/psa/var/cgitory/mailer-6.3-4/htdocs/ioncube/ioncube_loader_win_4.1.dll
/opt/psa/var/cgitory/mailer-6.3-4/htdocs/ioncube/ioncube_loader_win_4.3.dll
/opt/psa/var/cgitory/mailer-6.3-4/htdocs/ioncube/ioncube_loader_win_4.2.dll
/opt/psa/var/cgitory/mailer-6.3-4/htdocs/ioncube/ioncube-loader-helper.php
/opt/psa/var/cgitory/mailer-6.3-4/htdocs/ioncubetest.php
/opt/psa/var/cgitory/cubecart-4.2.0-2/htdocs/ioncube
/opt/psa/var/cgitory/cubecart-4.2.0-2/htdocs/ioncube/index.htm
/var/cache/apt/archives/php5-ioncube-loader_3.3-ubn804.build08052012_amd64.deb
/var/cache/apt/archives/php5-ioncube-loader_3.2-11012014_amd64.deb
/var/lib/dpkg/info/php5-ioncube-loader.list
/var/lib/dpkg/info/php5-ioncube-loader.postinst
/var/lib/dpkg/info/php5-ioncube-loader.postrm
/var/lib/dpkg/info/php5-ioncube-loader.md5sums
/var/lib/dpkg/info/php5-ioncube-loader.conffiles
/etc/php5/conf.d/ioncube-loader-5.2.ini
/etc/php5/conf.d/ioncube-loader.ini
 
For the upgrade i want to waith and solve first this problem, i have read that if a problem occour during the upgrade, i can't restore the vps from the image backup , because the license key is upgraded and can't work with previous version of the plesk,..i need the vps up at the moment.

I might recommend going ahead and upgrading to 10.4.4 or latest current version of Plesk. Then troubleshoot to figure out why the error is occurring.. I would also check your configuration to see why the *.so files are not available. Can you locate these files on disk? Does the config point to these files? as it looks like it is pointing to ./ not /usr/lib/php/modules/ or something similar.
 
I have attaced my complete file: /etc/php5/cgi/php.ini

-----------------------------------------------
ls -la /usr/lib/php5
total 3528
drwxr-xr-x 5 root root 4096 Oct 21 10:57 .
drwxr-xr-x 65 root root 36864 Nov 20 19:18 ..
drwxr-xr-x 2 root root 4096 Oct 21 10:57 20060613
drwxr-xr-x 2 508 root 4096 Feb 21 2011 ioncube
-rw-r--r-- 1 root root 871104 May 20 2008 ioncube_loader_lin_5.2_x86_64.so
-rw-r--r-- 1 root root 2672940 Feb 21 2011 ioncube_loaders_lin_x86.tar.gz
drwxr-xr-x 2 root root 4096 Jan 6 2010 libexec
-rwxr-xr-x 1 root root 278 Oct 15 17:21 maxlifetime

----------------------------------------------------------------

/usr/lib64/php5/20060613# ls -la /usr/lib/php5/20060613
total 1648
drwxr-xr-x 2 root root 4096 Oct 21 10:57 .
drwxr-xr-x 5 root root 4096 Oct 21 10:57 ..
-rw-r--r-- 1 root root 59528 Oct 15 17:21 curl.so
-rw-r--r-- 1 root root 131288 Oct 15 17:21 gd.so
-rwxr--r-- 1 root root 105304 Nov 27 13:10 imap.so
-rwxr-xr-x 1 root root 871104 Mar 31 2011 ioncube_loader_lin_5.2.so
-rw-r--r-- 1 root root 56064 Oct 15 17:21 mysql.so
-rw-r--r-- 1 root root 119488 Oct 15 17:21 mysqli.so
-rw-r--r-- 1 root root 96216 Oct 15 17:21 pdo.so
-rw-r--r-- 1 root root 28632 Oct 15 17:21 pdo_mysql.so
-rw-r--r-- 1 root root 24632 Oct 15 17:21 pdo_sqlite.so
-rw-r--r-- 1 root root 28568 Oct 15 17:21 snmp.so
-rw-r--r-- 1 root root 72768 Oct 15 17:21 sqlite.so
-rw-r--r-- 1 root root 29304 Oct 15 17:21 xsl.so
-----------------------------------------------------------------------

/usr/lib/php5/ioncube# ls
LICENSE.txt ioncube_loader_lin_4.3_ts.so ioncube_loader_lin_5.1.so ioncube_loader_lin_5.3_ts.so
README.txt ioncube_loader_lin_4.4.so ioncube_loader_lin_5.1_ts.so loader-wizard.php
ioncube_loader_lin_4.1.so ioncube_loader_lin_4.4_ts.so ioncube_loader_lin_5.2.so
ioncube_loader_lin_4.2.so ioncube_loader_lin_5.0.so ioncube_loader_lin_5.2_ts.so
ioncube_loader_lin_4.3.so ioncube_loader_lin_5.0_ts.so ioncube_loader_lin_5.3.so
 
Last edited by a moderator:
Dear to all :)

i have update to the lastest plesk pannel 10.4.4
but my problem persist:

PHP Warning: PHP Startup: Unable to load dynamic library './imap.so' - ./imap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './curl.so' - ./curl.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './gd.so' - ./gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './mysql.so' - ./mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './mysqli.so' - ./mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './pdo.so' - ./pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './pdo_mysql.so' - ./pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './pdo_sqlite.so' - ./pdo_sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './snmp.so' - ./snmp.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './sqlite.so' - ./sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './xsl.so' - ./xsl.so: cannot open shared object file: No such file or directory in Unknown on line 0


[Tue Nov 29 16:45:24 2011] [notice] Apache/2.2.8 (Ubuntu) DAV/2 mod_fcgid/2.3.6 mod_jk/1.2.25 mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.8 OpenSSL/0.9.8g mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations
[Tue Nov 29 16:45:24 2011] [warn-phpd] The ionCube PHP Loader is disabled because of startup problems. (pid 20304)
[Tue Nov 29 16:45:24 2011] [warn-phpd] The ionCube PHP Loader is disabled because of startup problems. (pid 20304)
[Tue Nov 29 16:45:24 2011] [warn-phpd] The ionCube PHP Loader is disabled because of startup problems. (pid 20304)
[Tue Nov 29 16:45:24 2011] [warn-phpd] The ionCube PHP Loader is disabled because of startup problems. (pid 20304)
[Tue Nov 29 16:45:24 2011] [warn-phpd] The ionCube PHP Loader is disabled because of startup problems. (pid 20304)
[Tue Nov 29 16:45:24 2011] [warn-phpd] The ionCube PHP Loader is disabled because of startup problems. (pid 20304)
[Tue Nov 29 16:45:24 2011] [warn-phpd] The ionCube PHP Loader is disabled because of startup problems. (pid 20304)

Where i need to write the correct path for each modality "apache" "fast-cgi" "cgi"?

Thanks in advance for the attention.
Regards.
 
Back
Top