diff --git a/debian/install.sh b/debian/install.sh index c22757f..53f3130 100755 --- a/debian/install.sh +++ b/debian/install.sh @@ -88,6 +88,9 @@ resources/fusionpbx.sh #NGINX web server resources/nginx.sh +#PHP +resources/php.sh + #Fail2ban resources/fail2ban.sh diff --git a/debian/resources/php.sh b/debian/resources/php.sh new file mode 100644 index 0000000..56b93ca --- /dev/null +++ b/debian/resources/php.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +#send a message +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 + +#restart php5-fpm +#systemd +/bin/systemctl restart php5-fpm + +#init.d +#/usr/sbin/service php5-fpm restart