SilverStripe Errors

Discussion in 'PHP' started by outeredge, Feb 7, 2011.

  1. outeredge

    outeredge New Member

    We're getting the below PHP error after switching a SilverStripe site to Litespeed, any ideas?

    Code:
    Warning: file_exists(): open_basedir restriction in effect. File(/var/www/clients/client10/web47/web/.htaccess/_config.php) is not within the allowed path(s): (/var/www/clients/client10/web47/web:/var/www/clients/client10/web47/tmp:/var/www/mysite.com/web:/tmp) in /var/www/clients/client10/web47/web/sapphire/core/i18n.php on line 1739
    
    Thanks

    David
    Last edited: Feb 7, 2011
  2. mistwang

    mistwang LiteSpeed Staff

    LiteSpeed PHP supports open_basedir, however, it is likely a PHP internal bug, access to
    /var/www/clients/client10/web47/web/.htaccess/_config.php should be allowed, as
    /var/www/clients/client10/web47/web is in the allow list.
    Maybe you should try another version of PHP, if still break, report bug to php.net.

Share This Page