LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   Ioncube Loader doesn't work (http://www.litespeedtech.com/support/forum/showthread.php?t=3222)

octaman 07-28-2009 10:25 AM

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?

mistwang 07-28-2009 10:55 AM

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.

octaman 07-28-2009 01:16 PM

Yes, I am using cPanel. I did as instructed and it worked. Thank you!


All times are GMT -7. The time now is 07:06 PM.