Skip to content
Snippets Groups Projects
Commit 5ace1f2d authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

[TASK] Increate PHP memory limit

parent 5b3a2600
No related branches found
No related tags found
No related merge requests found
......@@ -67,6 +67,18 @@ replace_or_add 'Increase time limit - CLI' do
line 'max_execution_time = 240'
end
replace_or_add 'Increase memory limit' do
path '/etc/php5/apache2/php.ini'
pattern 'memory_limit = 128M'
line 'memory_limit = 256M'
end
replace_or_add 'Increase memory limit - CLI' do
path '/etc/php5/cli/php.ini'
pattern 'memory_limit = 128M'
line 'memory_limit = 256M'
end
replace_or_add 'Increase upload size limit' do
path '/etc/php5/apache2/php.ini'
pattern 'upload_max_filesize = 2M'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment