Re: ssl enabled apache = NO php sessions: FIXED??!
| From: | Thomas Deliduka | Date: | Wed, 28 Jun 2000 21:22:26 +0000 |
| Subject: | Re: ssl enabled apache = NO php sessions: FIXED??! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-3670@lists.php.net to get a copy of this message | ||
I found it interesting that on 6/28/00 4:58 PM Brett M. Delia said:
> Well, after a ton of testing, it turns out that the problem actually
> centers around $APACHEHOME/bin/rotatelogs. For some $@$#@$#$ reason, if you
> start apache with SSL enabled and you use rotatelogs to have Apache
> automatically rotate your logs, you get zero length php session files in
> /tmp. Things run fine if you start Apache in non-ssl mode. Of course, the
> reason my first server worked fine was because it is our developement
> server and those guys don't want their logs rotated -- they do it
> themselves.
>
> So, I'm not sure why Apache logs affect PHP session file length when Apache
> is running with SSL enabled, but it did. Also, I'm not convinced this is
> the only way to fix the problem, but this way definately works.
>
> So, I'll probably just end up writing some cron job to rotate the logs for
> me.
This doesn't solve my problem because I don't use rotatelogs in apache I
have a cron job to do it.
--
Thomas Deliduka
IT Manager
-------------------------
New Eve Media
The Solution To Your Internet Angst
http://www.neweve.com/