Jump to:

4872 Posts in 6960 Topics by 1470 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » path problems on kloxo

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

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

Page: 1
Go to End
Author Topic: 1646 Views
  • dramatic
    Avatar
    Community Member
    1 Post

    path problems on kloxo Link to this post

    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() [function.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?

    1646 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.