Forum Moderators: phranque

Message Too Old, No Replies

php with apache

         

jimjoe1

4:36 pm on Feb 15, 2005 (gmt 0)



well i have a session problem with my site. i was using php apahe and mysql for my site and the sessions were working perfect. But i needed to install ssl on it, so i downloaded opensa web server which has ssl already installed.

but now when i run my site, i get the following mistakes.

Warning: open(/temp\sess_a54354k53453kjjk654645jklk, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Failed to write session data (files). please verify that the current setting of session.save_path is correct(/tmp) in Unknown on line 0

I havnt changed the path in the php.ini file. its still the same as it was before: C:\sessiondata\.

maybe have to change something in the opensa folder but cant find anything to do with session settings

help would be really grateful

hakre

11:53 am on Feb 16, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



i don't know wether opensa web server is bound to apache or not (there is ssl for apache available, too), but the problem you're describing looks like while php.exe ist startet by your webserver (cgi) it does not find it's php.ini-file, so the setting of sessiontmpdir ist not read in then.

check your opensa web server configuration, veryfiy your php installation (use phpinfo() for example and check the position of the .ini file) and ensure, that your .ini can be read. if the problem still exists, please tell:

- mode of php: cgi/module
- location of your php.ini
- (only!) php.ini related infos out of phpinfo() output