Re: [PHP] Sessions... wtf is wrong?!

2002-06-14 Thread Rick Kukiela

This is an ls -la from /tmp

[rick@wacky /tmp]$ ls -la
total 58
drwxrwxrwt3 root wheel 512 Jun 14 14:20 .
drwxr-xr-x   22 root wheel1024 Jun 13 16:39 ..
drwxr-xr-x2 root wheel 512 Apr 29 14:43 .webmin
-rw-rw-rw-1 root wheel   46193 Jun 11 14:11 1hz2b
-rw-rw-rw-1 root wheel2539 Jun 11 14:11 21hz2b
-rw---1 root wheel 126 Apr 25 14:28 EdP.amKqAY
srwxrwxrwx1 mysqlwheel   0 Jun 14 14:20 mysql.sock
-rw---1 root wheel   0 Apr 26 03:01 periodic.NCNBF4riSi

- Original Message -
From: "Lazor, Ed" <[EMAIL PROTECTED]>
To: "'Rick Kukiela'" <[EMAIL PROTECTED]>
Sent: Friday, June 14, 2002 4:44 PM
Subject: RE: [PHP] Sessions... wtf is wrong?!


> Are there read only files in that directory that are blocking things?
>
> > -Original Message-
> > From: Rick Kukiela [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, June 14, 2002 2:41 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP] Sessions... wtf is wrong?!
> >
> >
> > Okay, I was running php 4.1.2 on freebsd 4.5 with the build
> > args --with-mysql --enable-track-vars and --with-apxs... I started
> > implimenting session code. When my code wouldnt work I looked
> > on the boards
> > and found that there was a bug with that version, so i wiped
> > out php and
> > upgraded to php 4.2.1. Using the default php.ini file and the
> > example code
> > given off the website for sessions I get the folowing error:
> >
> > Warning: Failed to write session data (files). Please verify that the
> > current setting of session.save_path is correct (/tmp) in
> > Unknown on line 0
> >
> > just so you all know, /tmp is drwxrwxrwt and is owned by root.wheel.
> >
> > I double check after the script. No session data has been
> > written. I tried
> > changing the save path to /usr/local/apache/sessions and then
> > gave that
> > folder 777 and made it owned by nobody... Same error accept
> > its changed to
> > reflect the new save path instead of /tmp... either way its
> > broke and I need
> > it working very badly. Im sick of ripping my hair out. Can
> > anyone help me?
> > please?!?
> >
> >
> > Rick
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>

> This message is intended for the sole use of the individual and entity to
> whom it is addressed, and may contain information that is privileged,
> confidential and exempt from disclosure under applicable law.  If you are
> not the intended addressee, nor authorized to receive for the intended
> addressee, you are hereby notified that you may not use, copy, disclose or
> distribute to anyone the message or any information contained in the
> message.  If you have received this message in error, please immediately
> advise the sender by reply email and delete the message.  Thank you very
> much.
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Sessions... wtf is wrong?!

2002-06-14 Thread Rick Kukiela

Okay, I was running php 4.1.2 on freebsd 4.5 with the build
args --with-mysql --enable-track-vars and --with-apxs... I started
implimenting session code. When my code wouldnt work I looked on the boards
and found that there was a bug with that version, so i wiped out php and
upgraded to php 4.2.1. Using the default php.ini file and the example code
given off the website for sessions I get the folowing error:

Warning: Failed to write session data (files). Please verify that the
current setting of session.save_path is correct (/tmp) in Unknown on line 0

just so you all know, /tmp is drwxrwxrwt and is owned by root.wheel.

I double check after the script. No session data has been written. I tried
changing the save path to /usr/local/apache/sessions and then gave that
folder 777 and made it owned by nobody... Same error accept its changed to
reflect the new save path instead of /tmp... either way its broke and I need
it working very badly. Im sick of ripping my hair out. Can anyone help me?
please?!?


Rick


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php