forked from norman/fusionpbx-install.sh-github-mirror
transition from php5* packages to php-7.0* (#66)
* transition from php5* packages to php-7.0* * added 3rd party repositories with php7.0-* packages for trusty and jessie * added php7.0-xml package for Class SimpleXMLElement * added apt-get update after adding php7.0* repository source
This commit is contained in:
10
debian/resources/php.sh
vendored
10
debian/resources/php.sh
vendored
@@ -10,12 +10,12 @@ cd "$(dirname "$0")"
|
||||
verbose "Configuring 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
|
||||
sed 's#post_max_size = .*#post_max_size = 80M#g' -i /etc/php/7.0/fpm/php.ini
|
||||
sed 's#upload_max_filesize = .*#upload_max_filesize = 80M#g' -i /etc/php/7.0/fpm/php.ini
|
||||
|
||||
#restart php5-fpm
|
||||
#restart php-fpm
|
||||
#systemd
|
||||
/bin/systemctl restart php5-fpm
|
||||
/bin/systemctl restart php7.0-fpm
|
||||
|
||||
#init.d
|
||||
#/usr/sbin/service php5-fpm restart
|
||||
#/usr/sbin/service php7.0-fpm restart
|
||||
|
||||
Reference in New Issue
Block a user