NextCloud system requirements: RHEL vs. PHP

Hi,

I’m a Linux user in South France. I’ve been using OwnCloud for the past two years, and I want to make the move to NextCloud. I’m currently reading the documentation, and I’m wondering about a detail. One of the recommended systems is RHEL 7, which is a good thing, since I’m normally using the free (as in beer) clone CentOS 7. On the other hand, the docs recommend PHP 7.0. Unfortunately, RHEL/CentOS 7 defaults to PHP 5.4.16. I know there are some third-party repos out there offering PHP 7.0, but I don’t want to taint my system with stuff that’s not officially supported.

Will NextCloud run OK with PHP 5.4.16 / CentOS 7?

Cheers from the sunny South of France

I couldn’t tell you about how well Nextcloud works with PHP 5.4.16, but if you want a reliable OS with an up-to-date version of PHP, look at Debian 9 Stretch. It has PHP 7 and other modern versions of software compared to CentOS. On top of that, it is free as in free beer and free as in freedom :slight_smile: that’s my personal recommendation.

Well, CentOS 7 is supported until June 30th 2024. Debian 9 is approximately supported for the next two years, but that depends on the Debian developers. In my book about Linux (http://www.eyrolles.com/Informatique/Livre/debuter-avec-linux-9782212137934) I’m explaining the differences between Linux distributions (http://www.microlinux.fr/wp-content/uploads/2017/04/debuter-avec-linux-chap01.pdf) and why some are fit for enterprise/production use and some are not.

tl;dr: I’m a RHEL/CentOS user by choice, not a Debian user.

I used Webtatic repos (and EPEL) to install PHP7 on RHEL7

1 Like

You need PHP 5.6 or newer:
https://docs.nextcloud.com/server/12/admin_manual/installation/system_requirements.html

Well, well, apparently you missed to have a view on Debian Long Term Support as they explicitly mention support until June 2022 for Debian 9 Stretch. BTW Buster is the development codename for Debian 10 and Bullseye is the development codename for Debian 11.

Apparently RHEL 7.4 was released and people are looking for CentOS 7.4 and a roadmap yet. Maybe I misunderstand your post but Centos releases do not depend on developers?

No, I did not miss out on Debian LTS. The project has been created by fellow Eyrolles author Raphael Hertzog, and I’m following its progress regularly on his blog. As I stated above, I have a few good reasons to prefer CentOS over Debian (When I’m not using CentOS, I actually prefer Slackware). As for the link you posted in the second paragraph, this sort of question comes out regularly in the forums. Updates are moved to the CR repos while the new installations are created. Of course, there’s always the odd newcomer crying havoc and predicting that the end of CentOS is nigh. :wink: