RE: [PHP] IIS Quit Working
| From: | John W. Holmes | Date: | Sun, 29 Dec 2002 19:05:24 +0000 |
| Subject: | RE: [PHP] IIS Quit Working | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-129597@lists.php.net to get a copy of this message | ||
> Ok, I reinstalled IIS 5 and PHP 4.3 and it's working but the sessions
> aren't. I get this error:
>
>
> Warning: session_start() [function.session-start]:
> open(/tmp\sess_b400575a818f9bb0361b06dad912410c, O_RDWR) failed: No
such
> file or directory (2) in c:\inetpub\wwwroot\pcu\index.php on line 1
>
> I haven't edited the php.ini file yet but I'm not sure what to set it
to.
> Right now it says this:
>
> session.save_path = /tmp
>
> What should it be for Windows XP Pro?
It can be any directory that IIS can write to.
c:/php/sessions/ (if that folder exists)
works just fine. The IUSR_<computername> user on your computer must have
permission to write to that directory.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/