Re: Trying to start a session
| From: | Jough Jeaux | Date: | Sat, 25 Oct 2003 21:21:06 +0000 |
| Subject: | Re: Trying to start a session | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-167578@lists.php.net to get a copy of this message | ||
Okay for those interested the reason session_start()
wasn't working was b/c in OpendBSD Apache runs in a
chroot by default. So you have to change put a 'tmp/
directory in the ServerRoot of the web server. You
also have to change your include paths and stuff to
something inside the ServerRoot.
--- Curt Zirzow <php-general@zirzow.dyndns.org> wrote:
> * Thus wrote Jough Jeaux (phpjough@yahoo.com):
> >
> > There is room left on /tmp. Now that means the
> 'tmp'
> > directory under the root directory on the
> filesystem
> > right? I don't have to make a directory called
> 'tmp'
> > in the DirectoryRoot or someplace else do I?
>
> df -h /tmp will ensure you are looking at the
> proper device that
> tmp is mounted on.
>
> >
> > I also went ahead and chmod 777 /tmp to see if
> that
> > would help. It didn't. I had never used the
> 'sticky
> > bit'. I went ahead and turned it back on...
>
> That is good, the sticky bit makes it so only the
> creator of the
> file has permissions to see the contents of the
> file.
>
>
> Curt
> --
> "My PHP key is worn out"
>
> PHP List stats since 1997:
> http://zirzow.dyndns.org/html/mlists/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/