open_basedir error with DirectAdmin

Discussion in 'Install/Configuration' started by Pipert, Oct 16, 2009.

  1. Pipert

    Pipert New Member

    I'm experiencing the error below:

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/admin/domains/domainname.com/public_html/clients/../../../../../../home/ioncube/ioncube_loader_lin_5.3.so) is not within the allowed path(s): (/home/admin/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/admin/domains/domainname.com/public_html/clients/index.php on line 34

    This is WHMCS by the way. I do have cURL installed and Ioncube installed.

    DirectAdmin has open_basedir on by default. When i was using Apache, i never ran into these issues.
  2. mistwang

    mistwang LiteSpeed Staff

    check phpinfo() page for the open_basedir configuration. adjust the configuration in apache httpd.conf or php.ini.

    If you used apache with suphp, open_basedir never worked.
  3. powerMonster

    powerMonster New Member

    I checked my phpinfo() and it says value none, but I still get the error.
  4. mistwang

    mistwang LiteSpeed Staff

    what error?
    The thread starter clearly gives the error about "open_basedir restriction in effect".
  5. powerMonster

    powerMonster New Member

    The same one that the OP gets. It only happens when I compile php 5.30. If I compile any of the 5.2 versions of PHP, I don't get the error. Did something change in 5.3 that would affect this?
  6. mistwang

    mistwang LiteSpeed Staff

    Looks like a PHP 5.3 issue.
  7. powerMonster

    powerMonster New Member

    Thanks. I'll wait for an update.
  8. forextradingevo

    forextradingevo New Member

    Free forex tarding education

    I checked my phpinfo() and it says value none, but I still get the error.
    forextradingevo.com

Share This Page