Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2000071

Re: [PHP] ssl enabled apache = NO php sessions: FIXED??! From: Roberto Cespa (cespa <email protected>)
Date: 07/02/00

"Brett M. Delia" wrote:

> 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.
>

Hi, my name is Roberto and I'm from Italy.
I'm developing a search engine dedicated to travel and I am using
Linux+Apache+PHP4.
I've got the same problem this morning while testing some new code on my
computer.
I'm working with Apache-1.3.12 (+modssl+PHP4.0.1pl0) with rotatelog
_disabled_ but I still have the problem.
Files in the /tmp dir are empty and zero length, so I can't get no
information
from the session of the user.
I don't think that the problem is in the rotatelogs feature of Apache.
This is a real problem for me because I use session for storing all the
information typed in by Tour Operators before
storing them in a PostgreSQL database.

Can anyone help?
Thanks in advance,

    Roberto Cespa

--
Colombo2000
http://www.colombo2000.it
Il tuo prossimo viaggio comincia qui
Your next travel starts here

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>