|
Posted by Justin Koivisto on 12/21/05 19:19
I need to do some testing for an IIS server (not my choice!)...
So I installed IIS on my WinXP Pro machine (all updates applied), got
php 5.1.1 installer (& zip for all the pear stuff), and got everything
running. (I used the installer, so PHP is running in CGI mode.)
I ran a bunch of different scripts without problems, but now I need to
test pages that use sessions. The following is the error I get:
Fatal error: session_start() [function.session-start]: Failed to
initialize storage module: user (path: C:\PHP\sessiondata) in
c:\Inetpub\wwwroot\file.php on line N
(line is "session_start();")
These files all worked under my apache installs, and I am assuming that
the problem lies with the permissions of the directory somehow. Does
anyone have experience with this kind of setup?
I am using an NTFS filesystem, and I thought that I could simply allow
the user running the web server to have write access, but that didn't
work. I even went in and set "Everyone" with full access to the c:\php
folder (after attempting the same on the sessiondata one) to no avail.
TIA!
--
Justin Koivisto, ZCE - justin@koivi.com
http://koivi.com
[Back to original message]
|