RE: [PHP] IIS 6 and php.ini not being friends

From: Date: Wed, 10 Oct 2007 21:46:28 +0000
Subject: RE: [PHP] IIS 6 and php.ini not being friends
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-263067@lists.php.net to get a copy of this message
why not try searching the c:/windows folder for a copy of the php.ini file? Maybe there is a straggler that needs to be deleted. Bastien> Date: Wed, 10 Oct 2007 17:24:54 +0100> From: stuttle@gmail.com> To: Bastien> philthathril@gmail.com> CC: php-general@lists.php.net> Subject: Re: [PHP] IIS 6 and php.ini Bastien> not being friends> > Philip Thompson wrote:> > Hi. I have installed PHP ~ a dozen times Bastien> on Windows and *nix systems, so I> > don't consider myself to be a newbie at this. Bastien> However, I've run into a> > problem that I have run out of ideas. I have Google'd Bastien> many sites and none of> > the suggestions provided worked for me. Specs:> > > > Bastien> PHP 5.2.4 (Manual install)> > Windows (virtual) Server 2k3> > IIS 6, ISAPI> > > Bastien> > Ok, getting there... When I view phpinfo(), for the "Configuration File (> > Bastien> php.ini) Path" it shows C:\WINDOWS. However, I *know* that it's located in> > the Bastien> PHP install directory: C:\php. I've put C:\php in my Windows PATH> > environment and I Bastien> have even given "Everyone" full permissions on the .ini> > file - still no go. Bastien> Thinking maybe I screwed something up in my .ini file, I> > tested both the recommended and Bastien> dist .ini files with no changes - still no> > go. Yes, I restarted IIS each time and verified Bastien> permissions a lot.> > > > Any suggestions for what might be happening? Why can't Bastien> these just play> > nicely together? Is it possible the .ini file PHP provided is corrupt Bastien> so> > it's falling back to the *default* .ini?> > Move php.ini to C:\WINDOWS. If it Bastien> were finding a php.ini to work with it > would show the full path including the Bastien> "php.ini" on the end. This > location is compiled into the PHP binaries..> > Bastien> -Stut> > -- > http://stut.net/> > -- > PHP General Bastien> Mailing List (http://www.php.net/)> To unsubscribe, visit: Bastien> http://www.php.net/unsub.php> _________________________________________________________________ Send a smile, make someone laugh, have some fun! Start now! http://www.freemessengeremoticons.ca/?icid=EMENCA122

« previous php.general (#263067) next »