New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

error_log keep reporting "Failed loading" ioncube module even though it's loaded

Started by nimrod, June 02, 2017, 08:22:00 PM

Previous topic - Next topic

nimrod

Hope someone can point me to the right direction.

I keep getting these lines in my Apache error_log:

Failed loading /usr/php/54/usr/lib64/php/modules/ioncube_loader_lin.so: /usr/php/54/usr/lib64/php/modules/ioncube_loader_lin.so: cannot open shared object file: No such file or directory
Failed loading /usr/php/54/usr/lib64/php/modules/ZendGuardLoader.so:  /usr/php/54/usr/lib64/php/modules/ZendGuardLoader.so: cannot open shared object file: No such file or directory


I have installed PHP 5.4 via CWP PHP Selector. And in the ini file for this PHP version -
/opt/alt/php54/usr/php/php.ini
... I have added the following lines to point to where my ioncube loader files are located:

zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.4.so
zend_extension_ts = /usr/local/ioncube/ioncube_loader_lin_5.4_ts.so


What is still causing the above error messages? Which config or ini file should I edit to tell PHP or Apache where to find those files it's looking for?

Obviously that location mentioned in the error reports, does not exist.