Re: [PHP-DEV] Non-conflicting PHP 5 and 7 builds

2016-09-04 Thread Davey Shafik
Jordan, This was a choice they made, yet the author of the Debian/Ubuntu packages has side-by-side installable versions from 5.5-7.1 in his own PPA: https://launchpad.net/~ondrej/+archive/ubuntu/php It's not only currently feasible, it has been done, the _project_ chose not to do it. - Davey O

Re: [PHP-DEV] Non-conflicting PHP 5 and 7 builds

2016-09-04 Thread Jordan Gigov
I can see your argument for using prefix, but that would not provide a solution to package maintainers who may want to give their users a choice. I was recently surprised when upgrading from Ubuntu 14 to 16 that it replaced PHP 5 with 7 entirely. They were forced into choosing between the two at a

Re: [PHP-DEV] Non-conflicting PHP 5 and 7 builds

2016-09-02 Thread Levi Morrison
On Fri, Sep 2, 2016 at 6:28 AM, Jordan Gigov wrote: > Most developers who hope to move a site to PHP 7 will still have to > maintain PHP 5 sites for a long time, requiring the presence of both. > However, building either one, even with the `--program-suffix` > configuration option still overwrites

Re: [PHP-DEV] Non-conflicting PHP 5 and 7 builds

2016-09-02 Thread Jordan Gigov
I'll try to answer as best I can. > Is it possible to extend that system also to minor and patch versions? Extending it to allow minor versions would require some changes in "scripts/phpize.m4" and "scripts/phpize.in" to make that information available to extensions, without having to parse the ve

Re: [PHP-DEV] Non-conflicting PHP 5 and 7 builds

2016-09-02 Thread Diogo Galvão
On Fri, Sep 2, 2016 at 9:28 AM, Jordan Gigov wrote: > Most developers who hope to move a site to PHP 7 will still have to > maintain PHP 5 sites for a long time, requiring the presence of both. > However, building either one, even with the `--program-suffix` > configuration option still overwrites

Re: [PHP-DEV] Non-conflicting PHP 5 and 7 builds

2016-09-02 Thread Andreas Heigl
Hi Jordan. Great Idea. There are just a few questions I have: * Is it possible to extend that system also to minor and patch versions? * What effect has that on docker or vagrant systems? Especially on maintainability of up-to-date versions that will have to symlink the current version to a new

[PHP-DEV] Non-conflicting PHP 5 and 7 builds

2016-09-02 Thread Jordan Gigov
Most developers who hope to move a site to PHP 7 will still have to maintain PHP 5 sites for a long time, requiring the presence of both. However, building either one, even with the `--program-suffix` configuration option still overwrites some files, like phpize and all the headers in ${prefix}/inc