From cdd7e975935144ee27bc5ebf0c26b47a46dd0f89 Mon Sep 17 00:00:00 2001 From: anmol26s Date: Mon, 7 Aug 2017 21:16:46 +0530 Subject: [PATCH] Increase the memory limit to 30M memory_limit = 30M with upload_max_filesize so that upload could be possible. I was getting HTTP error while uploading 2 Mb files in media. This line fixes it. --- conf/php-fpm.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/php-fpm.ini b/conf/php-fpm.ini index a4538e8..1e0d50b 100644 --- a/conf/php-fpm.ini +++ b/conf/php-fpm.ini @@ -1,3 +1,4 @@ upload_max_filesize=30M +memory_limit = 30M post_max_size=30M ; max_execution_time=60