Re: Different php.ini files for different apache processes on one server
| From: | (Karl Pflästerer) | Date: | Wed, 19 Jul 2006 17:58:47 +0000 |
| Subject: | Re: Different php.ini files for different apache processes on one server | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-239593@lists.php.net to get a copy of this message | ||
On 19 Jul 2006, mba2000@ioplex.com wrote:
> You could chroot each apache instance but I would probably try to modify
> the apache module to accept a parameter (and in the process verify that
> one does not already exist).
Thanks to all for the answers. As the solution has to work with Apache 1
I can't use the PHPIniDir directive. One poster suggested to try to set
the PHPRC env variable. That seems to be the easiest approach since all
Apache instances get started with a different shell script.
KP