mirror of
https://github.com/Tooloop/Tooloop-Packages.git
synced 2026-04-27 12:31:38 +02:00
Update Nginx to PHP 8.3 as default in Ubuntu 24.04
This commit is contained in:
@@ -21,7 +21,7 @@ server {
|
|||||||
|
|
||||||
location ~* \.php$ {
|
location ~* \.php$ {
|
||||||
try_files $uri =404;
|
try_files $uri =404;
|
||||||
fastcgi_pass unix:/var/run/php/php8.1-fpm-tooloop.sock;
|
fastcgi_pass unix:/var/run/php/php8.3-fpm-tooloop.sock;
|
||||||
include fastcgi.conf;
|
include fastcgi.conf;
|
||||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||||
|
|||||||
+2
-2
@@ -33,7 +33,7 @@ group = tooloop
|
|||||||
; (IPv6 and IPv4-mapped) on a specific port;
|
; (IPv6 and IPv4-mapped) on a specific port;
|
||||||
; '/path/to/unix/socket' - to listen on a unix socket.
|
; '/path/to/unix/socket' - to listen on a unix socket.
|
||||||
; Note: This value is mandatory.
|
; Note: This value is mandatory.
|
||||||
listen = /var/run/php/php8.1-fpm-tooloop.sock
|
listen = /var/run/php/php8.3-fpm-tooloop.sock
|
||||||
|
|
||||||
; Set listen(2) backlog.
|
; Set listen(2) backlog.
|
||||||
; Default Value: 511 (-1 on FreeBSD and OpenBSD)
|
; Default Value: 511 (-1 on FreeBSD and OpenBSD)
|
||||||
@@ -238,7 +238,7 @@ pm.max_spare_servers = 3
|
|||||||
; last request memory: 0
|
; last request memory: 0
|
||||||
;
|
;
|
||||||
; Note: There is a real-time FPM status monitoring sample web page available
|
; Note: There is a real-time FPM status monitoring sample web page available
|
||||||
; It's available in: /usr/share/php/8.1/fpm/status.html
|
; It's available in: /usr/share/php/8.3/fpm/status.html
|
||||||
;
|
;
|
||||||
; Note: The value must start with a leading slash (/). The value can be
|
; Note: The value must start with a leading slash (/). The value can be
|
||||||
; anything, but it may not be a good idea to use the .php extension or it
|
; anything, but it may not be a good idea to use the .php extension or it
|
||||||
Reference in New Issue
Block a user