Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Session error - Urgent
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 


Report this thread to moderator Post Follow-up to this message
Old Post
Alessandro Lumertz Garcia
11-30-04 09:00 PM


Re: Session error - Urgent
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_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

Report this thread to moderator Post Follow-up to this message
Old Post
Gabor Hojtsy
11-30-04 09:00 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Mirrors archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 07:25 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.