ioncube problem

nobaloney

NoBaloney Internet Svcs - In Memoriam †
Joined
Jun 16, 2003
Messages
25,333
Location
California
Problem on a client's server. We converted the client from php4 as cgi to php4/php5 as cgi.

We also installed the php4/php5 selection plugin mentioned on these forums, with php4 as the default.

We didn't make any changes to site running whmcs; it's still st to run php4. but nevertheless we now get this when attempting to load whmcs into a browser:
Site error: the file /home/internic/domains/internic.co.uk/public_html/whmcs/index.php requires the ionCube PHP Loader ioncube_loader_lin_4.4.so to be installed by the site administrator.
It looks as if we've got the right code into the right place to load ioncube_loader_lin_4.4.so, but maybe we're missing something.

Anyone have any ideas as to what we should be looking for?

Thanks.

Jeff
 
Check /usr/local/etc/php4/cgi/php.ini if ioncube line is there :) Or just please post the output of:
Code:
/usr/local/php4/bin/php -v
 
The ioncube line was the top line of /usr/local/etc/php4/cgi/php.ini. That didn't seem right so I moved it to the bottom of the [Zend] section. It didn't help.
The output of /usr/local/php4/bin/php -v:

Code:
# /usr/local/php4/bin/php -v
PHP 4.4.9 (cgi-fcgi) (built: Mar 12 2010 02:25:26)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
    with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
    with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies
#
Jeff
 
Try (for 32bit of Linux):
Code:
cd /usr/local/lib/php
wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
tar xzf ioncube_loaders_lin_x86.tar.gz
rm -f ioncube_loaders_lin_x86.tar.gz

Add the following line to /usr/local/etc/php4/cgi/php.ini now:
Code:
zend_extension=/usr/local/lib/php/ioncube/ioncube_loader_lin_4.4.so
 
How do I tell if it's a 32-bit or 64-bit version? What's the easiest way (CentOS)?

Nevertheless I tried it and it didn't work. Same error.

I tried it with adding the line at the bottom of the Zend section, and I also tried it replacing the old ioncube line. Neither worked.

Please watch for my email.

Thanks.

Jeff
 
i686.

Seems like 32-bit to me. but it still doesn't work. I've sent you email.

Thanks.

Jeff
 
Back
Top