PDA

View Full Version : ioncube issues


kkonline
6th September 2008, 17:05
I have a script encoded with ioncube
but on my script it shows

Site error: the file /var/www/web1/classes/setupclass.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator.

although in php.ini i have mentioned
zend_extension=/usr/local/lib/ioncube/ioncube_loader_lin_5.2.so
in the first line

in the php.ini other refernce to szend is
; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
zend.ze1_compatibility_mode = Off


echo phpinfo() mentions

Variables
_SERVER["argc"] 0
_ENV["PATH"] /usr/local/bin:/usr/bin:/bin
_ENV["PWD"] /usr/local/lib/ioncube

Environment
Variable Value
PATH /usr/local/bin:/usr/bin:/bin
PWD /usr/local/lib/ioncube
LANG C
SHLVL 1
_ /usr/sbin/apache2


What can be done in order to run the encoded script

falko
7th September 2008, 18:05
Do you use the correct php.ini?
Does /usr/local/lib/ioncube/ioncube_loader_lin_5.2.so exist?

kkonline
7th September 2008, 18:10
yes the .so file exists in that path and i have verified the php.ini using the phpinfo() function

falko
8th September 2008, 12:50
What's the output of ls -la /usr/local/lib/ioncube/?

kkonline
8th September 2008, 18:09
drwxr-sr-x 2 root staff 4096 Sep 6 15:40 .
drwxrwsr-x 4 root staff 4096 Sep 6 17:53 ..
-rwxr-xr-x 1 501 users 982084 Jul 4 2007 ioncube_loader_lin_5.2.so
-rwxr-xr-x 1 501 users 1034212 Jul 4 2007 ioncube_loader_lin_5.2_ts.so


the above is the output

falko
9th September 2008, 18:53
Do you use a 32 or 64bit OS, and is the IonCube loader for 32/64bit?