#1  
Old 6th September 2008, 17:05
kkonline kkonline is offline
Junior Member
 
Join Date: Aug 2008
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default ioncube issues

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
Code:
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
Reply With Quote
Sponsored Links
  #2  
Old 7th September 2008, 18:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Do you use the correct php.ini?
Does /usr/local/lib/ioncube/ioncube_loader_lin_5.2.so exist?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 7th September 2008, 18:10
kkonline kkonline is offline
Junior Member
 
Join Date: Aug 2008
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes the .so file exists in that path and i have verified the php.ini using the phpinfo() function
Reply With Quote
  #4  
Old 8th September 2008, 12:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

What's the output of
Code:
ls -la /usr/local/lib/ioncube/
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 8th September 2008, 18:09
kkonline kkonline is offline
Junior Member
 
Join Date: Aug 2008
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #6  
Old 9th September 2008, 18:53
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

Do you use a 32 or 64bit OS, and is the IonCube loader for 32/64bit?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Zend Optimizer, Guard, and IONCube Code5 General 2 16th August 2008 22:19
ClamAV Milter Issues - Virtual Hosting Howto With Virtualmin On CentOS 5.1 pheniks HOWTO-Related Questions 14 26th March 2008 12:04
Ubuntu Mail Server issues (warning: a long list!) klonos HOWTO-Related Questions 3 6th October 2007 15:18
ISPConfig + Turck MMCache + Hardened-PHP - Any Issues? BobbyQ General 8 3rd May 2006 23:52
Apache2-SSL-PHP5-Howto (+ Zend Optimizer And IonCube Loader) kevin HOWTO-Related Questions 8 23rd January 2006 13:11


All times are GMT +2. The time now is 17:26.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.