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:
erxspin
2017-02-23 23:49:57 +06:00
committed by FusionPBX
parent 5247301bc9
commit e76a036f70
4 changed files with 31 additions and 10 deletions

View File

@@ -14,7 +14,7 @@ server{
}
location ~ \.php$ {
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
#fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi_params;
@@ -95,7 +95,7 @@ server {
}
location ~ \.php$ {
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
#fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi_params;
@@ -181,7 +181,7 @@ server {
}
location ~ \.php$ {
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
#fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi_params;