Skip to content

Commit 88e3c7b

Browse files
authored
Merge pull request #1514 from saibotk/fix-php-fpm-config-reinstall
fix(php-fpm): correctly reconfigure all versions
2 parents b8f4e49 + f670b62 commit 88e3c7b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cli/Valet/PhpFpm.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ public function install(): void
2727

2828
$this->files->ensureDirExists(VALET_HOME_PATH.'/Log', user());
2929

30-
$phpVersion = $this->brew->linkedPhp();
31-
$this->createConfigurationFiles($phpVersion);
30+
foreach ($this->utilizedPhpVersions() as $phpVersion) {
31+
$this->createConfigurationFiles($phpVersion);
32+
}
3233

3334
// Remove old valet.sock
3435
$this->files->unlink(VALET_HOME_PATH.'/valet.sock');

0 commit comments

Comments
 (0)