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.
This commit is contained in:
FusionPBX 2016-08-02 11:31:50 -06:00 committed by GitHub
parent ae2c3ee411
commit 7fb40be1d8
1 changed files with 2 additions and 1 deletions

View File

@ -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