LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Ioncube Loader doesn't work

Reply
 
Thread Tools Display Modes
  #1  
Old 07-28-2009, 10:25 AM
octaman octaman is offline
New Member
 
Join Date: Jul 2009
Posts: 2
Default Ioncube Loader doesn't work

I have followed all of the other threads in the forum that I could find, but my server is saying it is an open_basedir restriction causing the issue. If I look at phpinfo, it is not showing ioncube either so it appears it is not loading.

I get the following message in my web app that requires it:

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20060613) is not within the allowed path(s):

(/home/user:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp)

Any ideas?
Reply With Quote
  #2  
Old 07-28-2009, 10:55 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
Are you using cPanel? If yes, use the "Build Matching PHP" feature in WHM plugin.

If you have to use the "compile PHP" feature from web console, you can set "Install Path Prefix" to "/usr/local", the default open_basedir should work.

If you need to install PHP to /usr/local/lsws/lsphp5, you have to add
"/usr/local/lsws/lsphp5/lib/php/" to open_basedir.
Reply With Quote
  #3  
Old 07-28-2009, 01:16 PM
octaman octaman is offline
New Member
 
Join Date: Jul 2009
Posts: 2
Yes, I am using cPanel. I did as instructed and it worked. Thank you!
Reply With Quote
Reply

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


All times are GMT -7. The time now is 09:32 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.