Centos 8/CentosStream PHP module stream
-
New to Centos 8/Stream is that modules can have “streams” (different versions of the same package)
For example, the default stream for PHP is 7.2.
However, PHP7.3 and PHP7.4 are also available.
To get a list of the versions:
dnf module info php | awk 'BEGIN{FS=" "} $1~/Stream/ {print $3}'
This means we can swap the versions to 7.4 as such:
dnf module reset php -y dnf module enable php:7.4 -y dnf update -y
Would it be worth it to add this to the install script?
-
@Quazz While I do understand the good intend in this I think it’s very hard to maintain. We see enough issues with trying to make it work in the different distros. Adding the Stream PHP versions will be a nightmare I reckon.