tmp dir -> session error

smidur

Joined: 2004-11-07
Posts: 1
Posted: Sun, 2004-11-07 03:02

hi..
i already found some posts about the tmp-dir problems, but non could fix my problem...

i receive this warning:

Warning: Unknown(): open(/www/htdocs/username//tmp/sess_b31046fd4ffcd4e7c4bce7b50ddc2d3c, O_RDWR) failed: Permission denied (13) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/www/htdocs/username//tmp) in Unknown on line 0

i cann't configure the server because it's not mine.

i know that there is something with the open_basedir. it is set to:

/www/htdocs/username/:/tmp:/usr/bin:/www/htdocs/username:/bin:/usr/local/bin:/usr/share/php

that seems alright to me

moreover the exec()-function is disabled .. so i had to use cgi, adding a htaccess-file with the following code:

AddHandler php-fastcgi .php .php4 

->so, the installation generally worked, but i cann't login to my gallery.

can someone help me and tell me how to set the tmp-dir. i already tried almost everything i can imagine.

btw.: is it worth to install the gallery even if the php is runing as cgi-module? or is it too slow

thx in advance
martin

----
Apache/1.3.27 (Linux/SuSE)
Gallery version: v1.4.4-pl4
PHP Version 4.3.1