Dzahn has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/362119 )
Change subject: apache: add class for mod_php with PHP 7.0 for stretch ...................................................................... apache: add class for mod_php with PHP 7.0 for stretch For stretch compatibility, which comes with PHP 7, add Apache module class for mod_php with 7, provided by package libapache2-mod-php7.0 (note the .0 at the end). My first usecase is making the librenms module work on stretch on netmon1002 which relies on the libapache2-mod-php5 package which doesn't exist anymore now. That URL to Apache docs that i removed is 404 and #httpd claims it never existed because mod_php is a 3rd party module for them. Bug: T159756 Change-Id: I8997c4693a9aaf314547a33494ca05dd97dee26b --- M modules/apache/manifests/mod.pp 1 file changed, 6 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/19/362119/1 diff --git a/modules/apache/manifests/mod.pp b/modules/apache/manifests/mod.pp index 3769580..9f9e465 100644 --- a/modules/apache/manifests/mod.pp +++ b/modules/apache/manifests/mod.pp @@ -133,6 +133,12 @@ # https://httpd.apache.org/docs/current/mod/mod_php5.html class apache::mod::php5 { apache::mod_conf { 'php5': } <- package { 'libapache2-mod-php5': } } +# mod_php (PHP 5) +class apache::mod::php5 { apache::mod_conf { 'php5': } <- package { 'libapache2-mod-php5': } } + +# mod_php (PHP 7) +class apache::mod::php7 { apache::mod_conf { 'php7': } <- package { 'libapache2-mod-php7.0': } } + # https://httpd.apache.org/docs/current/mod/mod_python.html class apache::mod::python { apache::mod_conf { 'python': } <- package { 'libapache2-mod-python': } } -- To view, visit https://gerrit.wikimedia.org/r/362119 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I8997c4693a9aaf314547a33494ca05dd97dee26b Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Dzahn <dz...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits