Browse Source

php memory limit

master
parent
commit
85655c6678
2 changed files with 11 additions and 0 deletions
  1. +1
    -0
      tasks/main.yml
  2. +10
    -0
      tasks/php.yaml

+ 1
- 0
tasks/main.yml View File

@@ -52,6 +52,7 @@


- import_tasks: certificate.yml - import_tasks: certificate.yml


- import_tasks: php.yaml
- import_tasks: apache2.yml - import_tasks: apache2.yml


- import_tasks: cron.yml - import_tasks: cron.yml


+ 10
- 0
tasks/php.yaml View File

@@ -0,0 +1,10 @@
---

- name: php memory limit
ini_file:
path: /etc/php/7.3/apache2/php.ini
section: PHP
option: memory_limit
value: '512M'
backup: yes
notify: restart apache2

Loading…
Cancel
Save