aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index dff87c9..ceb5c79 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -19,8 +19,8 @@
class php {
include pear
- # The needed packages
- package { [ 'php5', 'php5-mysql', 'php5-cli', 'php5-ffmpeg', 'php5-curl', 'php5-gmp' ]:
+ # The needed packages: we could also try libapache2-mod-php5filter
+ package { [ 'php5', 'php5-mysql', 'php5-cli', 'php5-ffmpeg', 'php5-curl', 'php5-gmp', 'libapache2-mod-php5' ]:
ensure => installed,
}
@@ -42,6 +42,7 @@ class php {
# The needed apache modules
apache::module { 'php5':
ensure => present,
+ require => Package['libapache2-mod-php5'],
}
file { '/etc/php5/cli/php.ini':