SilverStripe Errors

outeredge

Active Member
#1
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:

mistwang

LiteSpeed Staff
#2
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.
 
Top