From 1c9b3a2f83b12652a80299b1d2ff745b1b91e8da Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Tue, 26 Nov 2019 09:52:00 +0100 Subject: [PATCH] Installl oci8 for PHP 7.2 --- tasks/apache.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tasks/apache.yml b/tasks/apache.yml index 2391c04..f13601b 100644 --- a/tasks/apache.yml +++ b/tasks/apache.yml @@ -40,6 +40,18 @@ notify: - Restart Apache +- name: Set Oracle environment variables + lineinfile: + dest: /etc/apache2/envvars + regexp: '^{{ item }}' + line: '{{ item }}' + when: repository is defined and php_needs_oci8|default(false) + with_items: + - export LD_LIBRARY_PATH=/opt/oracle/instantclient_18_5 + - export ORACLE_HOME=/opt/oracle/instantclient_18_5 + notify: + - Restart Apache + - name: Configure Security, Global Redirect, Global Deny, Logging template: src: etc-apache2-conf-available-{{item }} -- GitLab