Ioncube Loader doesn't work

Discussion in 'General' started by octaman, Jul 28, 2009.

  1. octaman

    octaman New Member

    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):


    Any ideas?
  2. mistwang

    mistwang LiteSpeed Staff

    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.
  3. octaman

    octaman New Member

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

Share This Page