From bb0c7e7bbc988adc65f4da308215f69167fad23a Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Thu, 7 Jan 2016 10:48:02 -0600 Subject: [PATCH] Fixes #70: Get gooky Apache-specific packages out of default config. --- README.md | 2 ++ vars/Debian.yml | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f051813..b606b20 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,8 @@ Available variables are listed below, along with default values (see `defaults/m A list of the PHP packages to install (OS-specific by default). You'll likely want to install common packages like `php`, `php-cli`, `php-devel` and `php-pdo`, and you can add in whatever other packages you'd like (for example, `php-gd` for image manipulation, or `php-ldap` if you need to connect to an LDAP server for authentication). +_Note: If you're using Debian/Ubuntu, you may also need to install `libapache2-mod-php5` (or a similar package depending on PHP version) if you want to use `mod_php` with Apache._ + php_enable_webserver: true If your usage of PHP is tied to a web server (e.g. Apache or Nginx), leave this default value. If you are using PHP server-side or to run some small application, set this value to `false` so this role doesn't attempt to interact with a web server. diff --git a/vars/Debian.yml b/vars/Debian.yml index 1cf1cf3..450bd89 100644 --- a/vars/Debian.yml +++ b/vars/Debian.yml @@ -1,7 +1,6 @@ --- __php_packages: - php5 - - libapache2-mod-php5 - php5-mcrypt - php5-cli - php5-common