Re: win32 php.ini default behavior better in php executable directory?

From: Date: Sat, 28 Dec 2002 13:34:26 +0000
Subject: Re: win32 php.ini default behavior better in php executable directory?
References: 1 2 3 4  Groups: php.windows 
Request: Send a blank email to php-windows+get-17577@lists.php.net to get a copy of this message
Petar wrote: > Hi All, > > Sorry about the cross post but I suppose it applies in both areas. > > I raised a few questions about getting an alternate php.ini recognised > when multiple php installs are on a windows 2000 server with no real > solution so far. I noticed 4.3.0 claims to have support for the > "-c /path/to/php.ini" which should allow the cgi version to use an > alternate php.ini file but it does not work under IIS5 and neither > does 4.2.3 > > I propose that the initial location php.exe should look for a php.ini > file is in the directory from which it executes. This would overcome > any issues with individual web servers on a win32 platform and allow > multiple configs/multiple copies of php to be executed without > trickery like the "-c /path/to/php.ini" which doesn't work. > > Anyone see a downside to this proposition? You can already do what you suggest. php.ini is read from the php executable directory first. Try it out. Christoph

« previous php.windows (#17577) next »