Re: Where does PHP look for php.ini ???
| From: | Martin A. Marques | Date: | Tue, 12 Sep 2000 21:48:49 +0000 |
| Subject: | Re: Where does PHP look for php.ini ??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-16454@lists.php.net to get a copy of this message | ||
On Tue, 12 Sep 2000, Arne Borkowski (borko.net) wrote:
> Hi,
>
> I compiled PHP 4.0.2 and used these options:
>
> --with-mysql
> --with-interbase=/opt/interbase
> --with-gd
> --withapxs=/usr/local/apache/bin/apxs
> --with-config-file-path=/usr/local/apache
>
> The last option did work fine when I compiled PHP 4.0.1pl2 and all was fun
> (most at least).
> Right now I feel, that this option is ignored.
>
> Does anyone have same/similar experience? Am I missing something?
Try this (it's what I do). Write a small script with this:
<? phpinfo() ?>
and execute it. In the output you'll find where php is looking for the
php.ini file. By the way, yes, sometimes I feel that the compilation
gives no advice of the --with-config-file-path option.
Bye!
"And I'm happy, because you make me feel good, about me." - Melvin Udall
-----------------------------------------------------------------
Martín Marqués email: martin@math.unl.edu.ar
Santa Fe - Argentina http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------