Re: php.ini

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2004-11-16 at 00:17 -0800, lister@xxxxxxxxxx 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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux