Switch from PHP5 to default PHP (PHP7 on Xenial)

In working out upgrading our Mediawiki deployment to Ubuntu 16.04
LTS (Xenial Xerus), it became apparent that libapache2-mod-php5 is
not available there because the distro has moved on to
libapache2-mod-php7.0 instead. By using the libapache2-mod-php
virtual package name instead, we can support both and also future
version bumps as well.

Change-Id: I5d1a5e51beb09a1cb26b1de6dba1b7d05781ee03
This commit is contained in:
Jeremy Stanley 2019-03-14 22:09:53 +00:00
parent 047a444178
commit a7956cd41d
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ class mediawiki(
require => Vcsrepo['/srv/mediawiki/w'],
}
package { ['libapache2-mod-php5',
package { ['libapache2-mod-php',
'lua5.2']:
ensure => present,
}