We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bc1072 commit 0bb5ca9Copy full SHA for 0bb5ca9
manifests/mod/php.pp
@@ -93,7 +93,7 @@
93
$_php_version_no_dot = regsubst($php_version, '\.', '')
94
if $apache::version::scl_httpd_version {
95
$_lib = "librh-php${_php_version_no_dot}-php${_php_major}.so"
96
- } elsif ($facts['os']['family'] == 'RedHat') and ($_php_major == 8) {
+ } elsif ($facts['os']['family'] == 'RedHat') and (versioncmp($php_version, '8') >= 0) {
97
# RedHat + PHP 8 drop the major version in apache module name.
98
$_lib = "${libphp_prefix}.so"
99
} else {
0 commit comments