David.Comay at sun.com wrote: >> Then we could clone the /usr model onto /etc: >> >> /etc/php5/[version]/php.ini >> >> and each PHP instance will bind to its own default configuration file. > > Yes, that makes sense. But when I asked you about this in an earlier > pre-review, I thought you had said that php.ini only changes between > major versions of PHP (PHP4 vs. PHP5 vs. PHP6) and not between minor > versions. Did I misunderstand?
You did not misunderstand -- that is correct. But, that design was based on the idea of having, in fact, only one version of php available at a time (due to the symlinks in /usr/bin and /usr/lib). However, given that we are now contemplating the idea of having multiple concurrent versions of PHP cohabit on the same system, at the same time, it could happen that certain modules, and consequently certain configuration directives, are avaliable in one version of PHP, but not another (the actual contents of the php.ini file is Volatile). This scenario would suggest that we need separate configuration files for each particular PHP version. --Stefan -- Stefan Teleman Sun Microsystems, Inc. Stefan.Teleman at Sun.COM
