Skip to content

Commit

Permalink
Restore PHP memory limit to 128MB
Browse files Browse the repository at this point in the history
Also increase post and upload max file size to 256MB
  • Loading branch information
Cwaffles committed Dec 17, 2014
1 parent 093e980 commit 36517dd
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions setup-debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -324,13 +324,10 @@ END
if [ -f /etc/php5/fpm/php.ini ]
then
sed -i \
"s/upload_max_filesize = 2M/upload_max_filesize = 200M/" \
"s/upload_max_filesize = 2M/upload_max_filesize = 256M/" \
/etc/php5/fpm/php.ini
sed -i \
"s/post_max_size = 8M/post_max_size = 200M/" \
/etc/php5/fpm/php.ini
sed -i \
"s/memory_limit = 128M/memory_limit = 36M/" \
"s/post_max_size = 8M/post_max_size = 256M/" \
/etc/php5/fpm/php.ini
fi

Expand Down

0 comments on commit 36517dd

Please sign in to comment.