Session error - Urgent

From: Date: Tue, 30 Nov 2004 13:47:57 +0000
Subject: Session error - Urgent
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-26707@lists.php.net to get a copy of this message
Hi. 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. Best regards. Alessandro Lumertz Garcia Fone: (51)3337-5377 / 3023-5377 R. 221 Teletex Sul / Tec B&B Serviços http://www.teletexsul.com.br

« previous php.mirrors (#26707) next »