Pārlūkot izejas kodu

Update php version to 8.1 in the nginx config

FusionPBX 10 mēneši atpakaļ
vecāks
revīzija
abdd3a517a
1 mainītis faili ar 6 papildinājumiem un 6 dzēšanām
  1. 6 6
      debian/resources/nginx/fusionpbx

+ 6 - 6
debian/resources/nginx/fusionpbx

@@ -14,7 +14,7 @@ server {
 	}
 
 	location ~ \.php$ {
-		fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
+		fastcgi_pass unix:/var/run/php/php8.1-fpm.sock;
 		#fastcgi_pass 127.0.0.1:9000;
 		fastcgi_index index.php;
 		include fastcgi_params;
@@ -23,7 +23,7 @@ server {
 
 	# Allow the upgrade routines to run longer than normal
 	location = /core/upgrade/index.php {
-		fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
+		fastcgi_pass unix:/var/run/php/php8.1-fpm.sock;
 		#fastcgi_pass 127.0.0.1:9000;
 		fastcgi_read_timeout 15m;
 		fastcgi_index index.php;
@@ -145,7 +145,7 @@ server {
 	}
 
 	location ~ \.php$ {
-		fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
+		fastcgi_pass unix:/var/run/php/php8.1-fpm.sock;
 		#fastcgi_pass 127.0.0.1:9000;
 		fastcgi_read_timeout 15m;
 		fastcgi_index index.php;
@@ -155,7 +155,7 @@ server {
 
 	# Allow the upgrade routines to run longer than normal
 	location = /core/upgrade/index.php {
-		fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
+		fastcgi_pass unix:/var/run/php/php8.1-fpm.sock;
 		#fastcgi_pass 127.0.0.1:9000;
 		fastcgi_read_timeout 15m;
 		fastcgi_index index.php;
@@ -285,7 +285,7 @@ server {
 	}
 
 	location ~ \.php$ {
-		fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
+		fastcgi_pass unix:/var/run/php/php8.1-fpm.sock;
 		#fastcgi_pass 127.0.0.1:9000;
 		fastcgi_read_timeout 15m;
 		fastcgi_index index.php;
@@ -295,7 +295,7 @@ server {
 
 	# Allow the upgrade routines to run longer than normal
 	location = /core/upgrade/index.php {
-		fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
+		fastcgi_pass unix:/var/run/php/php8.1-fpm.sock;
 		#fastcgi_pass 127.0.0.1:9000;
 		fastcgi_read_timeout 15m;
 		fastcgi_index index.php;