From 7fb40be1d844a042f7caab8f6cfe42ad7ac9b091 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 2 Aug 2016 11:31:50 -0600 Subject: [PATCH] Update php.sh Use upload_max_filesize instead of post_max_size the word upload is in the name of this parameter making it more intuitive. --- debian/resources/php.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/resources/php.sh b/debian/resources/php.sh index 56b93ca..5193def 100644 --- a/debian/resources/php.sh +++ b/debian/resources/php.sh @@ -4,7 +4,8 @@ echo "Configure PHP" #update config if source is being used -sed 's#post_max_size = .*#post_max_size = 32M#g' -i /etc/php5/fpm/php.ini +#sed 's#post_max_size = .*#post_max_size = 80M#g' -i /etc/php5/fpm/php.ini +sed 's#upload_max_filesize = .*#upload_max_filesize = 80M#g' -i /etc/php5/fpm/php.ini #restart php5-fpm #systemd