php.ini
| From: | lister at pikkle dot com | Date: | Tue, 16 Nov 2004 08:17:27 +0000 |
| Subject: | php.ini | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-202117@lists.php.net to get a copy of this message | ||
(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