mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-19 18:01:37 +00:00
Fix different PHP version for sites (#487)
This commit is contained in:
parent
75a4fde8de
commit
a889cf11a2
@ -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";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user