From a610f5cf028b39c059b1ce6052084c8ba713b079 Mon Sep 17 00:00:00 2001 From: taoky Date: Tue, 2 Jul 2024 02:50:00 +0800 Subject: [PATCH] Fix fpm binary and config path in Debian 12 --- .docker/rootfs/etc/nginx/sites-available/default | 2 +- .docker/rootfs/etc/supervisor/conf.d/supervisord.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.docker/rootfs/etc/nginx/sites-available/default b/.docker/rootfs/etc/nginx/sites-available/default index 96861a9..77f64b5 100644 --- a/.docker/rootfs/etc/nginx/sites-available/default +++ b/.docker/rootfs/etc/nginx/sites-available/default @@ -13,7 +13,7 @@ server { } location /_h5ai/public/index.php { try_files $uri =404; - fastcgi_pass unix:/run/php/php7.3-fpm.sock; + fastcgi_pass unix:/run/php/php8.2-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; diff --git a/.docker/rootfs/etc/supervisor/conf.d/supervisord.conf b/.docker/rootfs/etc/supervisor/conf.d/supervisord.conf index 058c8fb..5347546 100644 --- a/.docker/rootfs/etc/supervisor/conf.d/supervisord.conf +++ b/.docker/rootfs/etc/supervisor/conf.d/supervisord.conf @@ -8,7 +8,7 @@ command=/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf command=nginx -g 'daemon off;' [program:php-fpm] -command=/usr/sbin/php-fpm7.3 --nodaemonize --fpm-config /etc/php/7.3/fpm/php-fpm.conf +command=/usr/sbin/php-fpm8.2 --nodaemonize --fpm-config /etc/php/8.2/fpm/php-fpm.conf [program:sftp] command=/usr/sbin/sshd -D -e