ssl enabled apache = NO php sessions: FIXED??!

From: Date: Wed, 28 Jun 2000 20:58:39 +0000
Subject: ssl enabled apache = NO php sessions: FIXED??!
Groups: php.general 
Request: Send a blank email to php-general+get-3663@lists.php.net to get a copy of this message
SUBJECT: ssl enabled apache = NO php sessions: FIXED??! 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. -- Brett M. Delia Software Engineer / Web Developer SportsMVP.com - Active Arts, Inc. 6650 S.W. Redwood Lane, Suite 200 Portland OR 97224 503.684.5806 x775 mailto:brettd@sportsmvp.com http://www.sportsmvp.com - http://www.activearts.com Do what you can, with what you have, where you are. --Theodore Roosevelt I have simply tried to do what seemed best each day, as each day came. -- Abraham Lincoln

« previous php.general (#3663) next »