feat: default memory limit to 128M
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
php_modules: "['opcache', 'mysql', 'mbstring', 'gd']"
|
php_modules: "['opcache', 'mysql', 'mbstring', 'gd']"
|
||||||
|
|
||||||
|
php_memory_limit: "128M"
|
||||||
|
@@ -13,8 +13,8 @@
|
|||||||
- restart php-fpm
|
- restart php-fpm
|
||||||
|
|
||||||
- name: configure php
|
- name: configure php
|
||||||
copy:
|
template:
|
||||||
src: ./files/php.ini
|
src: php.ini.j2
|
||||||
dest: /etc/php/{{ php_version }}/fpm/php.ini
|
dest: /etc/php/{{ php_version }}/fpm/php.ini
|
||||||
notify:
|
notify:
|
||||||
- restart php-fpm
|
- restart php-fpm
|
||||||
|
@@ -403,7 +403,7 @@ max_input_time = 60
|
|||||||
|
|
||||||
; Maximum amount of memory a script may consume (128MB)
|
; Maximum amount of memory a script may consume (128MB)
|
||||||
; http://php.net/memory-limit
|
; http://php.net/memory-limit
|
||||||
memory_limit = 128M
|
memory_limit = {{ php_memory_limit }}
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
; Error handling and logging ;
|
; Error handling and logging ;
|
Reference in New Issue
Block a user