From 314e8cd9a9a010e67de5cb5bb6a6b0975a77ac10 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Mon, 27 Jun 2016 12:55:27 +0200
Subject: [PATCH] Add PECL and oauth extension to PHP

---
 tasks/php.yml                      | 3 +++
 templates/etc-php5-apache2-php.ini | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/tasks/php.yml b/tasks/php.yml
index 25c1be3..6076c43 100644
--- a/tasks/php.yml
+++ b/tasks/php.yml
@@ -16,6 +16,9 @@
   notify:
     - "Apache | Restart Apache"
 
+- name: "PHP | Install PECL packages"
+  shell: 'pecl install oauth'
+
 - name: "PHP | Ensure Apache config directory"
   file:
     dest=/etc/{{ php_base_dir }}/apache2
diff --git a/templates/etc-php5-apache2-php.ini b/templates/etc-php5-apache2-php.ini
index 2a84b4b..d0bd787 100644
--- a/templates/etc-php5-apache2-php.ini
+++ b/templates/etc-php5-apache2-php.ini
@@ -1987,3 +1987,6 @@ extension=imagick.so
 [xmlrpc]
 extension=xmlrpc.so
 {% endif %}
+
+[oauth]
+extension=oauth.so
-- 
GitLab