Re: Far out!!!! More IIS problems.....

From: Date: Tue, 07 Jan 2003 16:08:17 +0000
Subject: Re: Far out!!!! More IIS problems.....
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-130602@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 "Brian McGarvie" <brian.mcgarvie@anypurposeloans.co.uk> wrote in message news:20030107153716.39471.qmail@pb1.pair.com... > php (.exe or .dll) will look for a php.ini in both, c:\(windows_dir) and > c:\php\ (I am not sure what location takes priority - I'd assume > c:\(windows_dir) > > "Scott Fletcher" <scott@abcoa.com> wrote in message > news:20030107145714.97215.qmail@pb1.pair.com... > > I only have one php.ini on the machine and the filepath point to this one. > > > > "Marek Kilimajer" <kilimajer@webglobe.sk> wrote in message > > news:3E1ACDF5.6030308@webglobe.sk... > > > phpinfo will tell you which php.ini is used > > > > > > Scott Fletcher wrote: > > > > > > >I tried various methods on IIS after configuring hte PHP.INI. Such as > > > >shutting down IIS, restarting IIS and rebooting hte machine. Here's > one > > > >latest addition that I found to be very far out!!!!!! What I did was > I > > > >renamed the php.ini to php1.ini and goes throught the procedures. > Guess > > > >what the website still is the same. So, I renamed the php.ini back and > > make > > > >some changes in php.ini. Still the same result. I'm still working on > > it. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.431 / Virus Database: 242 - Release Date: 17/12/02 > >

« previous php.general (#130602) next »