Skip to content
This repository was archived by the owner on Nov 20, 2025. It is now read-only.

Commit 85c4c69

Browse files
author
Mischa Braam
committed
Remove pecl extensions on PHP switch
1 parent ded8dfe commit 85c4c69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cli/Valet/PhpFpm.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ public function getFormulaName($version)
179179
*/
180180
public function switchTo($version)
181181
{
182+
$this->pecl->uninstallExtensions();
182183
$currentVersion = $this->linkedPhp();
183184

184185
if (!array_key_exists($version, self::SUPPORTED_PHP_FORMULAE)) {

0 commit comments

Comments
 (0)