Skip to content

Commit

Permalink
Merge pull request #430 from askdkc/fix-arch
Browse files Browse the repository at this point in the history
Fix For Arch Linux
  • Loading branch information
jmarcher committed Feb 14, 2024
2 parents b61932e + 0545c69 commit 1256bfc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cli/Valet/PhpFpm.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use Valet\PackageManagers\Homebrew;
use Valet\Contracts\ServiceManager;
use Valet\PackageManagers\Dnf;
use Valet\PackageManagers\Pacman;

class PhpFpm
{
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 1256bfc

Please sign in to comment.