Fix different PHP version for sites (#487)

This commit is contained in:
Austin Kregel 2025-02-16 04:58:58 -05:00 committed by GitHub
parent 75a4fde8de
commit a889cf11a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,7 +53,7 @@
@if ($site->type()->language() === 'php') @if ($site->type()->language() === 'php')
@php @php
$phpSocket = 'unix:/var/run/php/php-fpm.sock'; $phpSocket = "unix:/var/run/php/php{$site->php_version}-fpm.sock";
if ($site->isIsolated()) { if ($site->isIsolated()) {
$phpSocket = "unix:/run/php/php{$site->php_version}-fpm-{$site->user}.sock"; $phpSocket = "unix:/run/php/php{$site->php_version}-fpm-{$site->user}.sock";
} }