Ioncube doesn't work

optize

Well-Known Member
#1
phpinfo() states Ioncube is loaded, however when we try to run scripts related to Ioncube, it states:

Site error: the file /home/xx/public_html/converge/install/index.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator.

It's loaded in php.ini;

# cat /usr/lib/php.ini | grep ioncube_loader_lin_5.2.so
zend_extension="/usr/local/IonCube/ioncube_loader_lin_5.2.so"

If I switch back to apache, it works.... So I'm running out of options.

Any ideas?
 

optize

Well-Known Member
#2
I upgraded to the latest php 5.2.x branch and re-built the Litespeed PHP binary.

No go.

I can run the index.php file from the command line;

# php index.php
<html><head><title>IPS Driver Error</title>
<style>P,BODY{ font-family:arial,sans-serif; font-size:11px; }</style></head><body>
<blockquote><h1>IPS Driver Error</h1><b>There appears to be an error with the database.</b><br>
You can try to refresh the page by clicking <a href="javascript:window.location=window.location;">here</a>

Litespeed still doesn't like it.
 

optize

Well-Known Member
#3
I created a customized php.ini file in that users directory ;

zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so

Which fixed it, there must be another php.ini file somewhere that litespeed is reading that doesn't have the ioncube definition in it.
 
Top