On Tue, 2004-11-16 at 00:17 -0800, [EMAIL PROTECTED] wrote:
> (on windows) can someone tell me where to define which php.ini gets used?

If there is a php.ini file in the php root directory, then that gets
used. Otherwise, the php.ini file in C:\Windows (iirc).  If the php
interpreter (or dll) cannot find any php.ini file, it uses built-in
defaults.

> 
> 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...

This is because that's the file that it found first (ie, search order).
Zend installs its own php binaries (unless you do a custom setup).

[ snipped ]

> 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.
> 

I don't mess with those all-in-one-can installers, but you should read
the documentation and/or install log to see what it has installed where.

-- 

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

Reply via email to