Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

session vaiables?? a quick problem

Status
Not open for further replies.

sanjdhiman

Programmer
Jan 15, 2003
189
GB

Hi there ... a quick question am getting hte following error message. ITs a simple start_session(); function but i get the following error

does anyone know wat it means i have to do ??


Warning: open(/tmp\sess_0ae3b4b09931d035e24b95bdaccc94ee, O_RDWR) failed: m (2) in c:/program files/apache group/apache/htdocs/simplesession.php on line 3
The content of $sess_var is Hello world!

regards

sanj

Thanks in advance
 
I have changed in the php.ini file the session.save_path variable to one that is on my system but still no change at all ???

can anyone please help????
 
Run a phpinfo(); and lookup the change of your session.save_path variable to see if it took.

I had this EXACT problem a week ago, and my change in the php.ini wasn't taking.

(Did you stop and restart the apache webserver by the way? That's necessary for this variable to change)

Anyway, if you do all that, and it doesn't work (as in the phpinfo() shows the wrong value for session.save_path), I backed up my php.ini, recopied out the one included with the install php.ini.dist, made all the changes, restarted the webserver, and all was good.

Apparently, php just stops parsing and goes to defaults when it encounters something it doesn't like in the ini file.

-Rob
 
thanks mate... im goi nto try awt u suggested ... wil reset apache

thanks again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top