Click to See Complete Forum and Search --> : sessions cause apache to crash


Anon
02-20-2002, 05:50 AM
Hi,
I have installed the latest versions of apache, php and mysql on a windows 200o platform. all seems to work fine, except when i use sessions, the apache server always crashes. any ideas? am i not configering the server correctly?
please email me.
thanks
bob

Anon
02-20-2002, 03:46 PM
Did you set a session_save_path in php.ini?

It normally defaults to /tmp, which is a Unix path. For a Windows server, you should probably set it for something like C:\TEMP\ (or wherever you want tempfiles saved). I have found that on Windows systems, you need to have the whole path WITH the trailing backslash. IE: C:\TEMP\, not C:\TEMP

Other than that, it is impossible to help you troubleshoot without an error message of some sort. What does your Apache error_log say? Does PHP bring any errors up in the browser. What does your Event Log show?

Anon
02-22-2002, 12:43 AM
Change into this in php.ini:
session.save_path = C:/PHP/sessiondata
(Or whatever path)