1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Merge pull request #1166 from holta/wordpress-pro

Rename var apache_raise_php_limits to apache_high_php_limits [for WordPress & Moodle]
This commit is contained in:
A Holt 2018-09-24 12:49:16 -04:00 committed by GitHub
commit addae8bda7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 17 additions and 17 deletions

View file

@ -3,4 +3,4 @@ apache_allow_sudo: True
# For schools that use WordPress and/or Moodle intensively. See iiab/iiab #1147
# WARNING: Enabling this (might) cause excess use of RAM or other resources?
apache_raise_php_limits: False
apache_high_php_limits: False

View file

@ -73,12 +73,12 @@
# For schools that use WordPress and/or Moodle intensively. See iiab/iiab #1147
# WARNING: Enabling this (might) cause excess use of RAM or other resources?
- name: Raise php.ini limits if using WordPress and/or Moodle intensively
- name: Enact high limits in /etc/php/{{ php_version }}/{{ apache_service }}/php.ini if using WordPress and/or Moodle intensively
lineinfile:
path: "/etc/php/{{ php_version }}/{{ apache_service }}/php.ini"
regexp: "{{ item.regexp }}"
line: "{{ item.line }}"
when: apache_raise_php_limits
when: apache_high_php_limits
with_items:
- { regexp: '^upload_max_filesize', line: 'upload_max_filesize = 64M ; default is 2M' }
- { regexp: '^post_max_size', line: 'post_max_size = 128M ; default is 8M' }

View file

@ -1,7 +1,7 @@
#moodle_install: True
#moodle_enabled: False
# If using Moodle intensively, consider setting apache_raise_php_limits in:
# If using Moodle intensively, consider setting apache_high_php_limits in:
# /etc/iiab/local_vars.yml
moodle_version: 35

View file

@ -1,7 +1,7 @@
wordpress_install: True
wordpress_enabled: True
# If using WordPress intensively, consider setting apache_raise_php_limits in:
# If using WordPress intensively, consider setting apache_high_php_limits in:
# /etc/iiab/local_vars.yml
wordpress_download_base_url: https://wordpress.org