(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?

I would have thot something like:

httpd.conf >
  extension=php5.dll

then the dll looks for a php.ini in the same directory.
or does it look in the <path> or something?


On windows, I installed php/apache etc using the webserv project, if this
is relevant. it seems to give a clean setup of apache, mysql, php etc.

Thanks!

/dc

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to