Re: [PHP] sessions not being stored : DAY 2

2005-04-11 Thread Richard Lynch
On Sat, April 9, 2005 8:25 am, Yuri Huitrón Alvarado said: > but then what could be causing that the sessions are not being stored in > /tmp/sess ? It's POSSIBLE, but very unlikely, that 'whoami' is getting fooled into printing 'root' and you're not really 'root' I think I once saw phpinfo() prin

Re: [PHP] sessions not being stored : DAY 2

2005-04-10 Thread Andy Pieters
On Saturday 09 April 2005 13:13, Burhan Khalid wrote: > Yuri Huitrón Alvarado wrote: > > running whoami in php returns : " root " You know you are crazy as hell running php as root don't you. I guess you use your root account all the time. It kinda defeats its purpose. You should add a user acco

Re: [PHP] sessions not being stored : DAY 2

2005-04-09 Thread Yuri Huitrón Alvarado
:13:53 +0300 Subject: Re: [PHP] sessions not being stored : DAY 2 Yuri Huitrón Alvarado wrote:> > > running whoami in php returns : " root "Are you saying that you typed 'whoami' from a shell, and it gave you root.Or are you saying that when you did you got &#

Re: [PHP] sessions not being stored : DAY 2

2005-04-09 Thread Burhan Khalid
Yuri Huitrón Alvarado wrote: running whoami in php returns : " root " Are you saying that you typed 'whoami' from a shell, and it gave you root. Or are you saying that when you did you got 'root'. If this is the case, then you are running a big security risk if your PHP scripts are executing wi

RE: [PHP] sessions not being stored : DAY 2

2005-04-08 Thread Yuri Huitrón Alvarado
running whoami in php returns : " root " --- On Fri 04/08, Chris W. Parker < [EMAIL PROTECTED] > wrote: From: Chris W. Parker [mailto: [EMAIL PROTECTED] To: [EMAIL PROTECTED], php-general@lists.php.net Date: Fri, 8 Apr 2005 10:21:16 -0700 Subject: RE: [PHP] se

Re: [PHP] sessions not being stored : DAY 2

2005-04-08 Thread Jason Wong
On Saturday 09 April 2005 01:02, Yuri Huitrón Alvarado wrote: > I'm receiving this when trying to store a session : > > Warning: session_start(): > open(/tmp/sess/sess_d280d6af3a2059aa58f43477d6b2c166, O_RDWR) failed: > Permission denied (13) in > /usr/local/apache2/htdocs/calendario/calendarix/cal

RE: [PHP] sessions not being stored : DAY 2

2005-04-08 Thread Chris W. Parker
Yuri Huitrón Alvarado on Friday, April 08, 2005 10:02 AM said: > * the /tmp directory is owned by root > * the /tmp/sess directory is owned by the apache user and has 777 > permissions > * the directory in php.ini to store sessions is : /tmp/sess > * there's not a p

[PHP] sessions not being stored : DAY 2

2005-04-08 Thread Yuri Huitrón Alvarado
I'm receiving this when trying to store a session : Warning: session_start(): open(/tmp/sess/sess_d280d6af3a2059aa58f43477d6b2c166, O_RDWR) failed: Permission denied (13) in /usr/local/apache2/htdocs/calendario/calendarix/cal_header.inc.php on line 19 Warning: session_start(): Cannot send

Re: [PHP] sessions not being stored

2005-04-07 Thread Richard Lynch
Can the PHP User (Apache User in httpd.conf) write /tmp/sess? On Thu, April 7, 2005 1:15 pm, Yuri Huitrón Alvarado said: > > Hi ! > I'm using RedHat Linux 9.0 and have troubles storing sessions in /tmp/sess > , it just displays : > Warning: session_start(): > open(/tmp/sess/sess_1135822d82c1bae

Re: [PHP] sessions not being stored

2005-04-07 Thread Colin Ross
ser under which runs Apache > 2.0.48 > > --- On Thu 04/07, Colin Ross < [EMAIL PROTECTED] > wrote: > From: Colin Ross [mailto: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Date: Thu, 7 Apr 2005 13:19:49 -0700 > Subject: Re: [PHP] sessions not being stored > > do

[PHP] sessions not being stored

2005-04-07 Thread Yuri Huitrón Alvarado
Hi ! I'm using RedHat Linux 9.0 and have troubles storing sessions in /tmp/sess , it just displays : Warning: session_start(): open(/tmp/sess/sess_1135822d82c1bae67f9022de91702b80, O_RDWR) failed: Permission denied (13) in /usr/local/apache2/htdocs/calendario/calendarix/cal_header.inc.php on li

[PHP] sessions not being stored

2005-04-07 Thread Yuri Huitrón Alvarado
Hi ! I'm using RedHat Linux 9.0 and have troubles storing sessions in /tmp , it just displays : Warning: session_start(): open(/tmp/sess/sess_1135822d82c1bae67f9022de91702b80, O_RDWR) failed: Permission denied (13) in /usr/local/apache2/htdocs/calendario/calendarix/cal_header.inc.php on li