
j.boombatower@gmail.com wrote on 14/12/2015 02:12:03:
With this request I am happy with the php5 -> php7 package upgrade path: https://build.opensuse.org/request/show/348767.
With this approach I was able to upgrade using one of the following methods:
zypper dup (--from my repo since this isn't in factory) zypper in php7 (zypper provides a solution to vendor change to my php7 repo packages for each extension)
Hopefully once factory request on php5 is accepted I can get back to fixing build errors and requires*.
On Sun, Dec 13, 2015 at 1:47 AM, Bruno Friedmann <bruno@ioda-net.ch> wrote:
On Saturday 12 December 2015 23.42:16 Jimmy Berry wrote:
python 2 -> 3**
An example is that the previous version of Drupal (7) runs perfectly on php7 with dozens of addon modules (one of my test cases).
On Sat, Dec 12, 2015 at 11:37 PM, Jimmy Berry <jimmy@boombatower.com> wrote:
Unlike python 2 -> 2. php 5 -> 7 does not have major incompatibilities that should affect most projects. Short of some horrendous syntactically incorrect code that doesn't run in php 5 anyway that php 7 will complain about, there are only additional features, under the hood overhaul, and removal of features that had been deprecated for ages (like insecure mysql extensions).
All of the personal projects I use were able to run on php 7 and generally seems to be the consensus online. If we want both to be installable alongside eachother then the php7 and perhaps php5 package needs to be updated to not share the same path. I do not think this is necessary and for something like Tumbleweed it seems reasonable to attempt and make it the default (obviously exploring for issues).
The *requires changes I proposed will need to be made regardless since they make it impossible to use the compatible packages with php7 (held up waiting for resolution of 120+ build failures so it will be easier to verify).
In general people should be able to just upgrade to php7. They went the more aggressive, break stuff route, with php6 and due to backlash and other problems they abandon that approach. As such php 7 should be generally compatible with both php code and extensions.
-- Jimmy
Excellent news :-)
And many many thanks to take care of the builds errors and so one on OBS This is really appreciate.
Long live to php7 :-)
Thanks Jimmy for this big effort. It is really great! I may be wrong, but I believe there is still some version dependency in the php-pear stuff. A lot of packages require "php5-pear" but the SLE11SP3 and 4 package only provides "php53-pear" and "php-pear", so a lot of packages don't build for SLE11. Would you be willing to fix that, too? Thanks again, Andreas. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org