mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
www_options/tasks/main.yml: Refine nginx_high_php_limits comments
This commit is contained in:
parent
5b1738201f
commit
1f94166a23
1 changed files with 4 additions and 6 deletions
|
@ -85,6 +85,10 @@
|
||||||
- { regexp: '^max_input_vars', line: 'max_input_vars = 1000 ; default is 1000 / Moodle 3.11+ requires 5000+ with PHP 8+' }
|
- { regexp: '^max_input_vars', line: 'max_input_vars = 1000 ; default is 1000 / Moodle 3.11+ requires 5000+ with PHP 8+' }
|
||||||
when: not nginx_high_php_limits and not moodle_install # REMINDER: THIS ENTIRE 5-STANZA BLOCK IS ONLY INVOKED... when: moodle_install or nextcloud_install or pbx_install or wordpress_install
|
when: not nginx_high_php_limits and not moodle_install # REMINDER: THIS ENTIRE 5-STANZA BLOCK IS ONLY INVOKED... when: moodle_install or nextcloud_install or pbx_install or wordpress_install
|
||||||
|
|
||||||
|
# WARNING: This might cause excess use of RAM/disk or other resources!
|
||||||
|
# The first 5 values below were chosen by @ericnitschke and @kananigit on
|
||||||
|
# 2018-09-19: https://github.com/iiab/iiab/issues/1147
|
||||||
|
|
||||||
# 2020-03-08: IIAB DOES NOT SUPPORT UNINSTALLING APPS, so additional
|
# 2020-03-08: IIAB DOES NOT SUPPORT UNINSTALLING APPS, so additional
|
||||||
# clauses (to reset/restore PHP's defaults) are not necessary at this time.
|
# clauses (to reset/restore PHP's defaults) are not necessary at this time.
|
||||||
|
|
||||||
|
@ -92,13 +96,7 @@
|
||||||
# editing /etc/php/{{ php_version }}/cli/php.ini (below) -- though during
|
# editing /etc/php/{{ php_version }}/cli/php.ini (below) -- though during
|
||||||
# regular operation it uses: .../fpm/php.ini
|
# regular operation it uses: .../fpm/php.ini
|
||||||
# And in the past it used: .../apache2/php.ini
|
# And in the past it used: .../apache2/php.ini
|
||||||
#
|
|
||||||
# SEE ALSO roles/moodle/tasks/install.yml WHERE SIMILAR SURGERY'S DONE TO
|
|
||||||
# /etc/php/{{ php_version }}/apache2/php.ini UNTIL MOODLE'S PORTED TO NGINX!
|
|
||||||
|
|
||||||
# WARNING: This might cause excess use of RAM/disk or other resources!
|
|
||||||
# The first 5 values below were chosen by @ericnitschke and @kananigit on
|
|
||||||
# 2018-09-19: https://github.com/iiab/iiab/issues/1147
|
|
||||||
- name: "Enact 'nginx_high_php_limits: True' in /etc/php/{{ php_version }}/fpm/php.ini for schools that use WordPress/Moodle/Nextcloud/PBX intensively (allow photos/docs up to 500MB, 300s timeouts, memory_limit = 512M for Nextcloud, max_input_vars = 5000 for Moodle)"
|
- name: "Enact 'nginx_high_php_limits: True' in /etc/php/{{ php_version }}/fpm/php.ini for schools that use WordPress/Moodle/Nextcloud/PBX intensively (allow photos/docs up to 500MB, 300s timeouts, memory_limit = 512M for Nextcloud, max_input_vars = 5000 for Moodle)"
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/php/{{ php_version }}/fpm/php.ini # COMPARE /etc/php/{{ php_version }}/cli/php.ini AND /etc/php/{{ php_version }}/apache2/php.ini
|
path: /etc/php/{{ php_version }}/fpm/php.ini # COMPARE /etc/php/{{ php_version }}/cli/php.ini AND /etc/php/{{ php_version }}/apache2/php.ini
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue