Skip to content

Commit 5118f88

Browse files
committed
php: don't install phpX.X metapackage
THe phpX.X package is actually a meta-package that depends on libapache2-mod-phpX.X | phpX.X-fpm | phpX.X-cgi. Installing the meta package before php-fpm / nginx might causes the Apache module to be installed which we don't want. Fix this by installing the -common and -cli packages in the php class. The php::fpm class will still install the -fpm package.
1 parent 56cab05 commit 5118f88

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/php/manifests/init.pp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
}
1010

1111
ensure_packages([
12-
"php${version}",
12+
"php${version}-common",
13+
"php${version}-cli",
1314
])
1415

1516
ensure_packages(

0 commit comments

Comments
 (0)