Skip to content

Commit

Permalink
roots#1027 make output_buffering optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargano, Matthew committed Nov 3, 2018
1 parent 537edff commit a6d5cc5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions group_vars/staging/php.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
php_error_reporting: 'E_ALL'
php_display_errors: 'On'
php_display_startup_errors: 'On'
php_track_errors: 'On'
php_mysqlnd_collect_memory_statistics: 'On'
php_opcache_enable: 0

xdebug_remote_enable: 1
xdebug_remote_connect_back: 1
1 change: 1 addition & 0 deletions roles/php/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ php_session_cookie_secure: 'Off'
php_upload_max_filesize: 25M
php_track_errors: 'Off'
php_timezone: '{{ ntp_timezone }}'
php_output_buffering: 'Off'

php_opcache_enable: 1
php_opcache_enable_cli: 1
Expand Down
1 change: 1 addition & 0 deletions roles/php/templates/php.ini.j2
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ track_errors = {{ php_track_errors }}
upload_max_filesize = {{ php_upload_max_filesize }}
expose_php = Off
date.timezone = {{ php_timezone }}
output_buffering = {{ php_output_buffering }}

[mysqlnd]
mysqlnd.collect_memory_statistics = {{ php_mysqlnd_collect_memory_statistics }}
Expand Down

0 comments on commit a6d5cc5

Please sign in to comment.