Log in | Register | Lost password

Bottom
open_basedir
  • Posted: 25.10.2004, 20:11
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Hi there
    I have a slight setup issue that has rendered me helpless:
    I am running Postnuke .750 gold edition
    PhotoShare 4.0.1
    Your PHP server has "open_basedir" set to: /home/httpd/vhosts/xxx/httpdocs:/tmp
    I have set my Folder for temporary files to /tmp, yet; This is not a directory or this folder is not writable by the webserver. Please check the permissions

    I checked the permissions - I have another install Postnuke .750gold Photoshare ver 3.0.0 running on the same server with /tmp as temp dir.
    I have tried to make a subdir in tmp - /tmp/photo - and given it the same permissions (chmod 777) but with the same results ?

    Any ideas are welcome
  • Posted: 25.10.2004, 20:33
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    The open_basedir setting is a server setting that makes it impossible for PHP/Photoshare to access files not below that directory.

    See http://dk2.php.net/manual/en/features.safe-mode.php#ini.open-basedir
  • Posted: 25.10.2004, 21:20
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    I understand that - my problem is that I use the /tmp dir in the 3.0 install -works perfect and am not able to use it in the 4.0.1 install ?
    both running with postnuke .750 gold version
  • Posted: 25.07.2005, 22:23
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    I have a problem that could be similar to yours.

    Photoshare displays in the config screen the general php.ini settings. But I have also set a vhosts.conf. Photoshare ignores these settings, although the webserver is doing fine.

    For example, I included /www/mydomain/httpddocs:/www/mydomain/uploaddocs in vhosts.
    The Pagesetter Config has no problem using uploaddocs, while photoshare wouldn't.

    J?rn, any ideas?
  • Posted: 26.07.2005, 07:14
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    got it finally there was a small error in the vhosts.conf

    another question: why does photoshare require writing permissions for "group" and "public" in the docs upload dir?

Template courtesy of Designs By Darren.