From f492d6af84f7d807e751494597aec15f0f0152b0 Mon Sep 17 00:00:00 2001 From: David Petric Date: Thu, 30 Mar 2023 11:50:53 +0200 Subject: [PATCH] PHP config fix --- roles/configure-php/tasks/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/configure-php/tasks/main.yml b/roles/configure-php/tasks/main.yml index 53c9f9d..aafc535 100644 --- a/roles/configure-php/tasks/main.yml +++ b/roles/configure-php/tasks/main.yml @@ -2,26 +2,26 @@ - name: PHP ini setup copy: src: files/php{{ php_version }}.ini - dest: /etc/php/{{ php_version }}/cli/php.ini + dest: /etc/php/{{ php_version }}/fpm/php.ini - name: Increase PHP memory limit become: true lineinfile: - dest: /etc/php/{{ php_version }}/cli/php.ini + dest: /etc/php/{{ php_version }}/fpm/php.ini regexp: "memory_limit =" line: "memory_limit = 512M" - name: Increase PHP upload time become: true lineinfile: - dest: /etc/php/{{ php_version }}/cli/php.ini + dest: /etc/php/{{ php_version }}/fpm/php.ini regexp: "max_input_time =" line: "max_input_time = 120" - name: Increase PHP post size become: true lineinfile: - dest: /etc/php/{{ php_version }}/cli/php.ini + dest: /etc/php/{{ php_version }}/fpm/php.ini regexp: "post_max_size =" line: "post_max_size = 20M"