RE: [PHP-DEV] config.w32.h...registry configuration
| From: | Preston L. Bannister | Date: | Fri, 03 May 2002 12:23:42 +0000 |
| Subject: | RE: [PHP-DEV] config.w32.h...registry configuration | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-83661@lists.php.net to get a copy of this message | ||
From: Zeev Suraski [mailto:zeev@zend.com]
> IMHO, the enemy of the good is the better.
> We can implement the binary-dir solution in no time, and it covers >95% of
> the problems easily, but instead we'll be discussing perfect solutions and
> end up doing nothing :)
Yes, please! :)
Remember KISS ... (and I'm not getting over-friendly here).
In fact you can get pretty near 100% with the simple solution just by having
multiple copies of the PHP executable in different directories - one for each
differing configuration. On modern disks the size of PHP is insignificant,
so having multiple copies is a non-issue.
In fact this is an advantage. If (say) you are running multiple PHP-based
web applications, each requiring different configurations, you may in fact
be dependent on different versions of PHP. A good, careful sysadmin will
want to upgrade one application at a time (and test!) rather than all at
once, and will want each application using it's own PHP executable.
IMHO the more complicated solutions aren't really needed.