faqts : Computers : Programming : Languages : PHP : Common Problems : Sessions and State

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

47 of 62 people (76%) answered Yes
Recently 6 of 10 people (60%) answered Yes

Entry

Common problem: Warning: open(/tmp\sess_34a93af8048f549fef9a9e90ba04b232, O_RDWR) failed

Oct 6th, 2001 13:28
Gags Shapiro, Fiona Herring, Hjagar


I had the same problem for a bit until I saw the answer in the answered 
questions above.

If using Windows

The session.save_path in php.ini needs to be a real path to an 
exisiting folder not /tmp.

Mine is:

session.save_path = "F:\Work\Evironments\PHP4.0.6\tmp"

Easy, but not obvious to me.