Author Topic: error_log keep reporting "Failed loading" ioncube module even though it's loaded  (Read 6489 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Hope someone can point me to the right direction.

I keep getting these lines in my Apache error_log:

Code: [Select]
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 -
Code: [Select]
/opt/alt/php54/usr/php/php.ini... I have added the following lines to point to where my ioncube loader files are located:

Code: [Select]
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.