Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Commit

Permalink
Merge pull request #35 from byrond/patch-1
Browse files Browse the repository at this point in the history
Set a separate memory limit for CLI PHP
  • Loading branch information
becw authored Nov 10, 2017
2 parents 4bb4466 + 55c6500 commit 0d77715
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions conf/vagrant/provisioning/roles/php/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
- name: PHP | Adjust php.ini memory_limit
become: true
lineinfile: dest={{ item }}
lineinfile: dest={{ item.file }}
regexp='memory_limit'
line='memory_limit = {{ php_ini_memory_limit }}'
line='memory_limit = {{ item.value }}'
with_items:
- /etc/php/5.6/apache2/php.ini
- /etc/php/5.6/cli/php.ini
- { file: '/etc/php/5.6/apache2/php.ini', value: "{{ php_ini_memory_limit }}" }
- { file: '/etc/php/5.6/cli/php.ini', value: '-1' }
tags: PHP

- name: PHP | Enable PHP error display
Expand Down

0 comments on commit 0d77715

Please sign in to comment.