|
Posted by Andy Hassall on 10/31/06 22:04
On 31 Oct 2006 12:43:06 -0800, "forrie@gmail.com" <forrie@gmail.com> wrote:
>We're running multiple vhosts in an apache-2.x configuration for which
>we would like to provide separate php.ini files (for different
>reasons).
>
>At the moment, we're unable to do this - the error I'm seeing is:
>
>Starting httpd: Syntax error on line 87 of
>/etc/httpd/conf/vhost.conf.admin:
>Only first PHPINIDir directive honored per configuration tree -
>subsequent ones ignored
>[FAILED]
>
>So my question here is in a couple of parts. One, is it even possible
>to do what I'm trying to do...
Unless I've missed something, no, it's not.
> and what is a "configuration tree" -
>does that refer to the entire instance of the apache server itself.
Yes, looks that way.
>Is it possible to have more than one "configuration tree"s.
I don't think so. One Apache instance has one configuration tree; you'd have
run a separate Apache instance per vhost, which would almost certainly be
unmanageable.
You can override some PHP settings per vhost in httpd.conf with php_flag and
php_value, but that's not quite the same.
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Navigation:
[Reply to this message]
|