puppet-php icon indicating copy to clipboard operation
puppet-php copied to clipboard

Feature: RHEL 8 support

Open schlitzered opened this issue 6 years ago • 6 comments

Please add support for RHEL 8 and Clones.

schlitzered avatar Oct 02 '19 05:10 schlitzered

what is the default version of PHP on RHEL 8?

igalic avatar Oct 02 '19 11:10 igalic

look here: http://mirror.23media.com/centos/8/AppStream/x86_64/os/Packages/

it is php 7.2

schlitzered avatar Oct 04 '19 08:10 schlitzered

There's also the php app streams, which provide 7.3 ... could be installed if php_version allowed a leading @ sign

jorhett avatar May 11 '20 10:05 jorhett

look here: http://mirror.23media.com/centos/8/AppStream/x86_64/os/Packages/

it is php 7.2

7.2 EOLs in rhel 8 in May, 7.3 in Nov, both 2021. If you are going to do this 7.4 is the way to go, it EOLs in May 2029.

thaylin avatar Jan 19 '21 14:01 thaylin

I'm also looking for this. RHEL7 is pretty long in the tooth.

blysspluss avatar Oct 26 '21 13:10 blysspluss

RHEL 8 supports PHP 7.2 (the default), 7.3, 7.3 and 8.0 through streams.

I was able to install PostgreSQL 12 using @postgresql:12 as the package name, so supporting the @ syntax (as suggested by @jorhett) is allowed by other Puppet modules.

Specifying a provider of "dnfmodule" and an ensure value of "8.0" also worked to install PHP from the 8.0 stream using the standard package management tools in Puppet. So perhaps allowing some additional options in php::globals that could be passed on to the underlying package management could help.

g011um avatar Oct 26 '22 23:10 g011um