diff --git a/tasks/php.yml b/tasks/php.yml index 25c1be302cd104eb75a6d50f33b9bd1a700ab545..6076c436e7d7e3c1c239b418b502c91a84a71a19 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 2a84b4bb69b9fc705c4fd7437b3914a514069f44..d0bd7879af1c43e30f54d827488dda15ecb3ceca 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