What repo for php 7.4 on Centos 7.x

Hi guys,

I used so far up to 7.3 for all version SCL repo provided by Centos itself and install them all as explained here https://www.virtualmin.com/documentation/web/multiplephp .

Now for php 7.4 it seems something changed and cannot install 7.4 this way.

Please anyone have good guide how to add php 7.4 from some trusted repo and not brake yum update in the future and will be installed in /opt as all other versions did?

Thank you in advance.
Neboysha

Remi specializes in PHP packages for CentOS and RHEL. It’s safe and yum will keep you updated. https://rpms.remirepo.net/

Hello Ramin,

thank you very much for your suggestion, so basically from 7.4 to continue with Remi repo for php and up to 7.3 will still update from their SCL repo.

Will try on some server and be back with the update. I’m curious if Virtualmin wlll recognize them properly.

Good question. I don’t think Remi will cause interference with the existing PHP 7.3, but since some CentOS repos have right-of-way (not sure about SCL), [edited here] it’s probably not an issue. But you could exclude PHP 7.3 in the remi-safe repo for extra peace of mind.

When PHP 7.3 or 7.4 updates are ready they’ll be updated from their respective repositories when you type yum update in a terminal or when Virtualmin has update notifications and fetches them. And Virtualmin should find and list any PHP installation regardless of where it came from. Or at least that’s my experience.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.