Today I adjust my php program, but there have been error “Warning: Unknown: open(d:/temp/tmp/sess_lco4pavd5fmkc60djl24islim6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0” and “Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (d:/temp/tmp) in Unknown on line 0”

How to fix this error?

1.Check the directory "d:/temp/tmp" exists or not.Reset a really existed directory.Open php.ini or php5.ini ,set "session.save_path" a really existed directory.Remove the semicolon in front. Read more