Menu

base directory restriction

Help
danny goos
2008-12-10
2013-04-26
  • danny goos

    danny goos - 2008-12-10

    Dear support,

    I recently moved to a different server with following settings;

    php version 4.4.9
    MySQL: 5.0.67
    Perl version: 5.8.8
    Apache version: 1.3.41 (Unix)

    and get following error

    file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/www/users/gozujr/images_collect) is not within the allowed path(s): ('.:/proc/uptime:/tmp:/home:/usr/local/lib/php:/usr/home:/usr/local/bin/') in /home/gozui0/public_html/goza_gallery/myPh3.core.php on line 28

    Kindly advice on how to get arround this problem

    Thanks in advance
    Danny Goos

     
    • Eric Kok

      Eric Kok - 2008-12-11

      Hi,

      I believe this is a limitation set by the hosting provider. You could place your photos inside of the public html dir, for example in /home/gozui0/public_html/images_collect. Of course, the images are now accessible to anyone from the web, but that's not really a problem.

      Hope this helps you out, otherwise ask your hosting provider where the best place is to store your photos.

      Eric

       

Log in to post a comment.