IIS6: PHP Sessions
- by Alerty
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?