From fdce317d0f34c29bca6ac15faf713896055daa6e Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Thu, 7 Dec 2017 14:09:50 +0100
Subject: [PATCH] Make output buffering configurable

---
 defaults/main.yml                  | 1 +
 templates/etc-php5-apache2-php.ini | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/defaults/main.yml b/defaults/main.yml
index 18535b4..50871da 100644
--- a/defaults/main.yml
+++ b/defaults/main.yml
@@ -40,6 +40,7 @@ php_max_input_time: '60'
 php_max_input_vars: '1000'
 php_memory_limit: '32M'
 php_needs_oci8: false
+php_output_buffering: '4096'
 php_post_max_size: '32M'
 php_register_globals: 'Off'
 php_register_long_arrays: 'On'
diff --git a/templates/etc-php5-apache2-php.ini b/templates/etc-php5-apache2-php.ini
index 1558377..ac69b8f 100644
--- a/templates/etc-php5-apache2-php.ini
+++ b/templates/etc-php5-apache2-php.ini
@@ -257,7 +257,7 @@ precision = 14
 ; Development Value: 4096
 ; Production Value: 4096
 ; http://php.net/output-buffering
-output_buffering = 4096
+output_buffering = {{ php_output_buffering }}
 
 ; You can redirect all of the output of your scripts to a function.  For
 ; example, if you set output_handler to "mb_output_handler", character
-- 
GitLab