Update PHP socket to version-agnostic

The nginx example config refers to PHP 7 FPM socket,
but the newer version is recommended. Changing it to the
non-versioned socket to allow quick start.
pull/123/head
kamil-certat 2023-01-05 12:07:37 +01:00 committed by GitHub
parent 4f2e955020
commit c443a23e74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ server {
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
fastcgi_pass unix:/var/run/php/php-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;