Code Comments
Programming Forum and web based access to our favorite programming groups.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_db2af2b2bf4106fe2457762aba403be a, 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 + p hp. 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
Post Follow-up to this messageHi 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_db2af2b2bf4106fe2457762aba403 bea, O_RDWR) failed: Permission denied (13)in /usr/local/htdocs/common/conex ao_firebird.php on line 2 > > But the thing is that I run apache with the user 'apache' and the same gro up. > 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 creat e 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
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.