Recommended PHP 7 Source For CentOS 7
I know there’s a couple third party repos offering PHP 7 for CentOS. I
prefer not to add too much third party that I don’t have to and PHP 7
has been mainstream for some time now, I thought maybe it would be in EPEL by now.
What is the most recommended and stable way to get an up to date PHP on CentOS 7?
9 thoughts on - Recommended PHP 7 Source For CentOS 7
As far as I know, the only alternative to using a third-party repo’s prebuilt RPM versions with automatic updates (e.g.: Remi) would be to download and compile it yourself from php.net and aggressively update it by hand every time a new version is released.
Software Collections is always the way to go for up-to-date mainstream software.
https://www.softwarecollections.org/
Specifically it has PHP 7.0, 7.1 and 7.2 for CentOS 7.
P.
I’ve had the best experience with IUS:
https://ius.io/GettingStarted/
Am Di., 16. Apr. 2019 um 00:40 Uhr schrieb MRob:
—
Oliver Dauter Pinneberger Straße 63
25462 Rellingen Fon +49 4101 5384240
Mob +49 172 569 2222
El 16/4/19 a las 0:39, MRob escribió:
Remi Repo works well for me https://rpms.remirepo.net
Jose Maria Terry Jimenez wrote:
The upstream SCL (Software Collections for Linux)
<https://www.softwarecollections.org/en/> I just looked, and it seems they have 7.2 with PEAR.
mark
php 7.0 / 7.1 / 7.2 available in red hat scl:
php72:
yum -y install CentOS-release-scl yum -Y install rh-php72
Am 16.04.19 um 00:39 schrieb MRob:
Le 16/04/2019 à 00:39, MRob a écrit :
Here are two different solutions, the “official” way of doing things, and an unofficial solution that also works perfectly.
* https://www.microlinux.fr/php-71-CentOS/
Cheers,
Niki
—
Microlinux – Solutions informatiques durables
7, place de l’église – 30730 Montpezat Site : https://www.microlinux.fr Mail : info@microlinux.fr Tél. : 04 66 63 10 32
Mob. : 06 51 80 12 12
EPEL tries not replace to core EL packages so someone would have to package up a php72 which would co-install with the normal packages and would also supply all the other items without replacement. That takes a lot of work and instead volunteers have focused on the PHP Software Collections and the Remi’s PHP repositories that others have mentioned.
Second vote for remi. Running 7.2, no issues on EL7. The only config issue I’ve had is getting it to work with php-fpm and apache, but that was almost all apache config files.