[CentOS] CentOS, PHP & OwnCloud/Nextcloud: the version dilemma

Tue Sep 19 14:28:29 UTC 2017
Leon Fauster <leonfauster at googlemail.com>

> Am 19.09.2017 um 15:25 schrieb Johnny Hughes <johnny at centos.org>:
> 
> On 09/19/2017 06:41 AM, Leon Fauster wrote:
>> Am 19.09.2017 um 09:36 schrieb Nicolas Kovacs <info at microlinux.fr>:
>>> 
>>> I'm currently experimenting with OwnCloud and Nextcloud on a sandbox
>>> CentOS 7 server. I've been using OwnCloud for the last two years for my
>>> own purposes on a Slackware server, and I'm quite happy with it.
>>> 
>>> In my humble opinion, every admin who wants to host OwnCloud or
>>> Nextcloud on a RHEL/CentOS server is confronted with a version dilemma.
>>> 
>>> 1. CentOS 7 sports PHP 5.4, which has been officially EOL for quite some
>>> time, but Red Hat will provide security update backports until 2024.
>>> Which is fine.
>>> 
>>> 2. Currently supported versions of Nextcloud (namely the 11.x and 12.x
>>> branch) require a minimum of PHP 5.6. Which seems reasonable. But if I
>>> pull in PHP 5.6 from Webtatic, for example, I only get the "official"
>>> PHP support, which will end in 2018 for the 5.6 branch. And no security
>>> backports.
>> 
>> Try to ask upstream (bugzilla) to evaluate an officially upgrade 
>> from 5.4 to 5.6, that would give you support until EOL of EL7.
> 
> Or, how about you just use SCLs .. that is what they are for:
> 
> http://mirror.centos.org/centos/7/sclo/x86_64/rh/rh-php56/


SCL's support for rh-php56 has ended (April 2018).

PHP's official support until 31 Dec 2018.



> Or even
> 
> http://mirror.centos.org/centos/7/sclo/x86_64/rh/rh-php70/


SCL's support until Nov 2019.

PHP's official support until 3 Dec 2018.

So, reasonable. 


> See:
> 
> https://wiki.centos.org/SpecialInterestGroup/SCLo


Expecting that the next SCL release will provide PHP 7.1.

SCL packages should be preferred, instead of using 3rd party 
repositories (not arguing against any of them - more focusing 
manageability, integration, dependencies etc.).   


--
LF