From ad3a75ede0ee7b2a4fa429235d89c790deb7e44b Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Sat, 14 May 2016 21:24:56 -0500 Subject: [PATCH] Fixes #126: Add PHP's SQLite extension in default packages. --- README.md | 4 ++-- vars/Debian.yml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3426f39..bfd8189 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ 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 also need to install `libapache2-mod-fastcgi` (for cgi/PHP-FPM) or `libapache2-mod-php5` (or a similar package depending on PHP version) if you want to use `mod_php` with Apache._ +_Note: If you're using Debian/Ubuntu, you also need to install `libapache2-mod-fastcgi` (for cgi/PHP-FPM) or `libapache2-mod-php7.0` (or a similar package depending on PHP version) if you want to use `mod_php` with Apache._ php_enable_webserver: true @@ -28,7 +28,7 @@ The default values for the HTTP server deamon are `httpd` (used by Apache) for R php_enablerepo: "" -(RedHat/CentOS only) If you have enabled any additional repositories (might I suggest [geerlingguy.repo-epel](https://github.com/geerlingguy/ansible-role-repo-epel) or [geerlingguy.repo-remi](https://github.com/geerlingguy/ansible-role-repo-remi)), those repositories can be listed under this variable (e.g. `remi-php56,epel`). This can be handy, as an example, if you want to install the latest version of PHP 5.6, which is in the Remi repository. +(RedHat/CentOS only) If you have enabled any additional repositories (might I suggest [geerlingguy.repo-epel](https://github.com/geerlingguy/ansible-role-repo-epel) or [geerlingguy.repo-remi](https://github.com/geerlingguy/ansible-role-repo-remi)), those repositories can be listed under this variable (e.g. `remi-php70,epel`). This can be handy, as an example, if you want to install the latest version of PHP 7.0, which is in the Remi repository. php_executable: "php" diff --git a/vars/Debian.yml b/vars/Debian.yml index b6e6644..619c98f 100644 --- a/vars/Debian.yml +++ b/vars/Debian.yml @@ -12,6 +12,7 @@ __php_packages: - php7.0-opcache - php7.0-xml - php7.0-mbstring + - php-sqlite - php-apcu __php_webserver_daemon: "apache2"