On Tue, 16 Nov 2004 00:17:27 -0800 (PST), lister@xxxxxxxxxx <lister@xxxxxxxxxx> wrote: > (on windows) can someone tell me where to define which php.ini gets used? > > On my dev box, I installed the zend editor. Now when i do a > localhost/phpinfo() > from a normal browser window (ie not from within the zend IDE) it says php > is using the <..>/zend/php.ini settings file... > > within apache's httpd.conf you can set which php DLL to use, but I cannot > see how php then knows which .ini file to work with? It seems to be > picking up the php.ini from a completely different directory somewhere, so > i am wondering if the zend installer sets some secret registry value that > the php.dll is looking for? > If you're using Apache 2 (does not work with Apache 1.3)... then you can put a directive in httpd.conf: PHPIniDir c:/php Regards, Jordi. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php