Re: Different php.ini files for different apache processes on one server
| From: | Michael B Allen | Date: | Tue, 18 Jul 2006 22:32:14 +0000 |
| Subject: | Re: Different php.ini files for different apache processes on one server | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-239560@lists.php.net to get a copy of this message | ||
On Tue, 18 Jul 2006 20:44:35 +0200
<spam@pflaesterer.de>(Karl Pflästerer) wrote:
> Hi,
> suppose you had several directories a, b and c where in each directory
> you had an Apache http.conf file. For each directory Apache gets started
> with the http.conf (and other conf files) in that directory.
>
> PHP is used a an Apache module. How can I have a different php.ini file
> for each different Apache process (a, b and c)? (Apache is 1.3.33 IIRC)
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).
Mike
--
Michael B Allen
PHP Extension for SSO w/ Windows Group Authorization
http://www.ioplex.com/