mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Update main.yml
This commit is contained in:
		
							parent
							
								
									648dafdc6b
								
							
						
					
					
						commit
						91e660777e
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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' }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue