From 0545c6953f6bf7a034f3994f43a9c462e90e80c7 Mon Sep 17 00:00:00 2001 From: askdkc Date: Tue, 6 Feb 2024 11:04:55 +0900 Subject: [PATCH] Fix For Arch Linux --- cli/Valet/PhpFpm.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cli/Valet/PhpFpm.php b/cli/Valet/PhpFpm.php index 3fa9bb82..d16b5ff5 100644 --- a/cli/Valet/PhpFpm.php +++ b/cli/Valet/PhpFpm.php @@ -7,6 +7,7 @@ use Valet\PackageManagers\Homebrew; use Valet\Contracts\ServiceManager; use Valet\PackageManagers\Dnf; +use Valet\PackageManagers\Pacman; class PhpFpm { @@ -543,6 +544,10 @@ public function getPhpVersion() return null; } + if ($this->pm instanceof Pacman) { + return null; + } + if (!$this->version) { $this->version = $this->normalizePhpVersion(PHP_VERSION); }