IIS6: PHP Sessions
Posted
by Alerty
on Stack Overflow
See other posts from Stack Overflow
or by Alerty
Published on 2010-05-03T14:42:58Z
Indexed on
2010/05/03
14:48 UTC
Read the original article
Hit count: 519
I have installed PHP to work with IIS6 (with FastCGI). I am capable of viewing a sample test website that shows the PHP info with the following code:
<?php phpinfo(); ?>
Now that this works I tried to migrate my PHP website to IIS6 and here is a list of the errors/warnings I got:
PHP Warning: session_start(): open(C:\WINDOWS\Temp\sess_rjbv0ialf7uf03to69q1e4l101, O_RDWR) failed: Permission denied (13) in C:\Site\index.php on line 11
PHP Warning: Unknown: open(C:\WINDOWS\Temp\sess_rjbv0ialf7uf03to69q1e4l101, O_RDWR) failed: Permission denied (13) in Unknown on line 0
PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (C:\WINDOWS\Temp) in Unknown on line 0
After seeing this, I corrected the php.ini file to set correctly the session date value:
session.save_path="C:\WINDOWS\Temp"
Yet doing so has done nothing! How can I make it work?
© Stack Overflow or respective owner