Re: php.ini Path at Runtime
| From: | Jonel Rienton | Date: | Sat, 30 Oct 2004 21:00:49 +0000 |
| Subject: | Re: php.ini Path at Runtime | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-200733@lists.php.net to get a copy of this message | ||
There was a very recent discussion about this, look up the archive from
the past week or 2.
regards,
Jonel
> Does anyone know whether there is a way to specify the path of php.ini
> within httpd.conf or something similar? There is an environment
> variabled named PHPRC that is almost useful enough, but it must exist
> within the environment used to start Apache (e.g., using SetEnv in
> httpd.conf won't work - the description of putenv() sounds much the
> same).
>
> I am basically looking for an elegant method of specifying the path to
> the php.ini to use when starting Apache, much like how I can specify the
> path to httpd.conf with the -f flag:
>
> /usr/local/apache/bin/httpd -f /path/to/httpd.conf
>
> Thanks.
>
> Chris
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--