Re: Different php.ini files for different apache processes on one server

From: Date: Tue, 18 Jul 2006 19:20:26 +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-239556@lists.php.net to get a copy of this message
(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) > probably your only recourse is too compile 3 different php modules (with different php.ini paths). I heard that there was an apache directive to allow you to specify the location of php.ini but I know nothing about it and it's possible that it's an apache2 only thing. can't think of any other way of doing what you want. > > > KP >

« previous php.general (#239556) next »