Re: Session error - Urgent

From: Date: Tue, 30 Nov 2004 18:59:28 +0000
Subject: Re: Session error - Urgent
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-26711@lists.php.net to get a copy of this message
Hi Alessandro,
I´ve got a problem running apache with php on a Red Hat 9. It gives me this error: Warning: session_start(): open(/tmp/php/sess_db2af2b2bf4106fe2457762aba403bea, O_RDWR) failed: Permission denied (13)in /usr/local/htdocs/common/conexao_firebird.php on line 2 But the thing is that I run apache with the user 'apache' and the same group. This user has permission 777 on /tmp/php (he is the owner). But every time a session is create the error appears. The session file is created at the rigth location with the owner and group 'apache' but the permission of the file is none (---). Perhaps it could be something with umask, I don´t know, because if I create a file manualy it gets the permissions ok. The error is only with apache + php. I´d be very glad if you could help me.
Since your problem is not about php.net, this is not the right email address to ask it. Please contact php-general@lists.php.net with general support questions. Regards, Gabor Hojtsy

« previous php.mirrors (#26711) next »