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