clement
clement

Reputation: 4266

session_start error because of configuration php.ini

I configured this in tge php.ini:

[Session]
; Handler used to store/retrieve data.
;CHA CHANGED THIS from files to c:\temp
session.save_handler = "C:/temp"

But I have an error on my php website when session starts:

Warning: session_start() [function.session-start]: Cannot find save handler C:/temp in C:\wiki\inc\init.php on line 154

How can I resolve this warning / error?

Thanks in advance

Upvotes: 0

Views: 470

Answers (1)

num8er
num8er

Reputation: 19372

Try:

session.save_path = "C:/temp"
session.save_handler = "files"

Also look at this manual:

session.save-handler session.save-path

Upvotes: 2

Related Questions