Found a solution to the php.ini problem on IIS.....
| From: | Scott Fletcher | Date: | Tue, 07 Jan 2003 16:07:33 +0000 |
| Subject: | Found a solution to the php.ini problem on IIS..... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-130601@lists.php.net to get a copy of this message | ||
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