Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

path problems on kloxo

Go to End



Community Member, 1 Post

6 March 2010 at 8:05am

I recently installed silverstripe for the first time on a test site on my production server, which runs Kloxo on CentOS.
The admin section works fine, but the default site preview gives a string of errors such as

Warning: is_dir() []: open_basedir restriction in effect. File(/var/www/html//includes/classes) is not within the allowed path(s): (/home/httpd/[domain]/httpdocs:/home/httpd/[domain]/[domain]:/home/[user]/:/tmp:/usr/share/pear:/var/lib/php/session/:/home/kloxo/httpd/script) in /home/[user]/[domain]/html/includes/application_top.php on line 60

With CMS's I have used in the past, I would fix path issues in the config file, but I couldn't see any relevant entries there (indeed, it is tiny!)

I don't know how many people are familiar with Kloxo, but its structure is unusual: PhP runs as user:apache, and usually needs to see paths based on the server root: /home/[user]/[domain]/html/...

So how would I fix this without compromising security?