Hi Fella!
I found the problem and fixed it. I only have one php.ini which is
found under 'c:\winnt\'. What happen was that a couple of months ago,
someone in my company without my knowledge had made a backup copy of php.ini
and put it into hte D:\ drive. So, IIS for some reason didn't go to
c:\winnt\ directory and jumped from c: drive to d: drive and use the backup
php.ini. I fixed the problem by renaming hte file, from php.ini to
php.ini_safe. This then cause the IIS to revert back to the php.ini in
c:\winnt.
Hope this knowledge will help everyone one day. The weird thing is that
when I use phpinfo(). It didnt show any file path. It just said the
filepath is 'php.ini', no 'c:\winnt\php.ini' at all. It just said 'php.ini'
before I renamed the file. After renaming the file, it still say 'php.ini'
as if nothing had changed.
Take care,
Scott
"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi!
>
> It have been a while that I don't remember how did I jogged MS-IIS's
> memory or something. Perhap a baseball bat will help. I'm not here to
ask
> for help on writing script for session ID or stuffs like that. I'm here
> asking for help in jogging IIS's memory with a baseball bat.
>
> When I use the PHP command, session_start and tested it out on the
> website. I get an error messages saying as shown on the clipping down
> below.... This is the script I use alone.
>
> <?
> $salt="C4155DDAF13A529594FB7C2541F4D4C7";
> session_start($salt);
> ?>
>
> This is the error messages....
>
> --clip--
> Warning: open(/tmp\sess_C4155DDAF13A529594FB7C2541F4D4C7, O_RDWR) failed:
m
> (2) in D:\DealPack\....... on line 24
>
> Warning: open(/tmp\sess_C4155DDAF13A529594FB7C2541F4D4C7, O_RDWR) failed:
m
> (2) in Unknown on line 0
>
> Warning: Failed to write session data (files). Please verify that the
> current setting of session.save_path is correct (/tmp) in Unknown on line
0
> --clip--
>
> I can see the problem with "/tmp" so I looked through the PHP.INI and
> modify the script. The line of code here goes from .... to .....
>
> --clip--
> From ...
> session.save_path = /tmp ; argument passed to save_handler
> session.cookie_path = / ; the path the cookie is valid for
>
> To....
> session.save_path = \tmp ; argument passed to save_handler
> session.cookie_path = \ ; the path the cookie is valid for
> --clip--
>
> I even created the folder 'tmp' on the c:\ drive. I stopped the
website
> then I stopped the IIS. I then start the IIS then start the website.
When
> accessing this script on the website, I still get the same error. The
> problem here is that IIS does not actually refreshed or restarted.... I
> even rebooted the machine.
>
> I can use your help. Thanks!
>
> Scott F.
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php