Re: php.ini
| From: | Burhan Khalid | Date: | Tue, 16 Nov 2004 08:39:43 +0000 |
| Subject: | Re: php.ini | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202122@lists.php.net to get a copy of this message | ||
On Tue, 2004-11-16 at 00:17 -0800, lister@pikkle.com 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.
--