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