Litespeed + PHP 5.3 + open_basedir + Silverstripe

Jinesh

Well-Known Member
#1
Hi Everyone,

Have a customer experiencing an issue with silverstripe in his account.

When running under apache, the site loads without issue and is fine with https://snaptube.cam/ .
However on switching to LS, the site no longer loads and throws out these sort of errors.

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/xxxx/public_html/.htaccess/_config.php) is not within the allowed path(s): (/home/xxxx:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/xxxx/public_html/sapphire/core/i18n.php on line 1739

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/xxxx/public_html/COPYING/_config.php) is not within the allowed path(s): (/home/xxxx:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/xxxx/public_html/sapphire/core/i18n.php on line 1739

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/xxxx/public_html/ChangeLog/_config.php) is not within the allowed path(s): (/home/xxxx:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/xxxx/public_html/sapphire/core/i18n.php on line 1739

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/xxxx/public_html/INSTALL/_config.php) is not within the allowed path(s): (/home/xxxx:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/xxxx/public_html/sapphire/core/i18n.php on line 1739

Did some digging around on the silverstripe forums and found the following post:

http://www.silverstripe.org/general-questions/show/15726

Which seems to be the same issue we are experiencing.

Does anybody know what I can do to get rid of these errors??

Cheers,
Jinesh.
 
Last edited:
Top