View Single Post
  #1  
Old 03-07-2012, 03:12 PM
craigles craigles is offline
Member
 
Join Date: Jun 2011
Posts: 34
Default Litespeed + PHP 5.3 + open_basedir + Silverstripe

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.
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-...ons/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,
Craig
Reply With Quote