I misspoke (and, as usual, Stefan said it better anyways :-)

   s/live alongside the rest of its versioned bits/live in a versioned 
subdirectory of \/etc/

RandyF suggested (in an offline beer-in-hand conversation)
that this could be improved if we simply configured PHP to get its
ini file out of /etc/php5/[version]/php.ini directly and didn't
supply either a link or a default php.ini file in that location.

This would keep php from starting if it wasn't configured (secure
by default-ish) as well as reducing its install-time complexity.

   -John


David.Comay at Sun.COM wrote:
>> If you assume that there will only be one active PHP on the system,
>> then having the php.ini file in /etc is what you want.  If, on the
>> other hand, you need to have multiple ones running in parallel,
>> you absolutely don't want this, but instead want the php.ini file to
>> live alongside the rest of its versioned bits.
> 
> I don't believe php.ini belongs with the rest of the versioned bits as
> it's a configuration file.
> 
> I think Stefan's proposal of /etc/php5/[version] which mirrors
> /usr/php5/[version] makes the most sense.  Then the question is whether
> or not it makes sense to ship a symbolic link
> 
>     /usr/php5/[version]/etc -> /etc/php5/[version]
> 
> for "compatibility" with other OS distributions.
> 
> dsc


Reply via email to