forked from norman/fusionpbx-install.sh-github-mirror
Use upload_max_filesize instead of post_max_size the word upload is in the name of this parameter making it more intuitive.
16 lines
354 B
Bash
16 lines
354 B
Bash
#!/bin/sh
|
|
|
|
#send a message
|
|
echo "Configure PHP"
|
|
|
|
#update config if source is being used
|
|
#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
|
|
/bin/systemctl restart php5-fpm
|
|
|
|
#init.d
|
|
#/usr/sbin/service php5-fpm restart
|