RE: [PHP-DB] Session_Start won't work Help?
| From: | Hutchins, Richard | Date: | Fri, 09 Apr 2004 15:43:54 +0000 |
| Subject: | RE: [PHP-DB] Session_Start won't work Help? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-33831@lists.php.net to get a copy of this message | ||
You can also use ini_set() in a script to change the directory for that
specific script. However, as others have stated, the directory must exist
and the Apache user must have permission to write to it. I don't know if
ini_set() is any more/less secure than changing the php.ini file. I only
know it works.
Rich
> -----Original Message-----
> From: Daniel Clark [mailto:dclark@nwlink.com]
> Sent: Friday, April 09, 2004 11:40 AM
> To: Bestman4unowwa@aol.com
> Cc: php-db@lists.php.net
> Subject: Re: [PHP-DB] Session_Start won't work Help?
>
>
> In PHP.INI there is a variable session.save_path.
> Make sure it's uncommented and has a directory to store the
> temp session
> files on the web server.
>
>
> > I'm running Apache/2.0.49 and PHP/4.3.5 on windows XP. I
> get warnings:
> >
> > WARNING: session_start():
> open/tmp\sess_242f6f668d85d512f9f4379ffa1e1,
> > O_DWR failed: No such file or directory (2) in c:\program
> files\apache
> > group\apache2\htdocs\register_new.php on line 10
> >
> > I also get another similar warning for seesion start that
> says cannot send
> > seesion cookie and another that says cannot send session cache.
> >
> > Is this some sort of configuratrion problem in my
> httpd.cong file or my
> > php.ini file? HELP?
> >
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>