PDA

View Full Version : Problem setting up php on apache in Win2k


bcarl314
08-21-2002, 12:00 PM
I'm trying to set up a development environment at one of my client sites, and can't seem to get php to function with Apache on a win2K box.

If I set it up a a cgi, everything works except I get a bunch of errors when I try to use session. session_start() creates an error "No such file or directory (/temp\sess_ BIGHONKINGSESSIONNUMBERHERE)"

Then later it says, check session.save_path variable. So I go into my php.ini file and see that it's set to "/tmp" which I assume is correct. I've tried resetting this to other directories, to no avail.

Now I remember seeing that php doesn't like sessions when set up as a cgi so I go into apache conf file and set up php as a module. Same problem. Any ideas what I doing wrong here? I've set up this combo many times before with no problem, but this one's got me stumped.

Apache 1.3.26 and php 4.0.1
on Win2K

Thanks for the help.

Spookster
08-21-2002, 03:00 PM
Have you checked to make sure the tmp or temp directory exists? You could always download phpdev.