Update Nginx to PHP 8.3 as default in Ubuntu 24.04

This commit is contained in:
2024-05-07 16:48:54 +02:00
parent 86e4bd99a5
commit e2b9badcd0
2 changed files with 3 additions and 3 deletions
@@ -21,7 +21,7 @@ server {
location ~* \.php$ {
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;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
@@ -33,7 +33,7 @@ group = tooloop
; (IPv6 and IPv4-mapped) on a specific port;
; '/path/to/unix/socket' - to listen on a unix socket.
; 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.
; Default Value: 511 (-1 on FreeBSD and OpenBSD)
@@ -238,7 +238,7 @@ pm.max_spare_servers = 3
; last request memory: 0
;
; 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
; anything, but it may not be a good idea to use the .php extension or it