I upgraded my php to latest version (7.4) and while trying to install valet i got the following error:
valet install
Stopping nginx...
Installing nginx configuration...
Installing nginx directory...
Updating PHP configuration...
In Brew.php line 251:
Unable to determine linked PHP when parsing '7.4'
install
Here's a temporary fix :
nano ~/.composer/vendor/laravel/valet/cli/Valet/Brew.phpvalet install@LeRoyJulian thanks. It did work. Someone needs to send PR updating the file Brew.php
Can this be reopened? I'm getting this error even though the line was already added in the Brew.php file.
Most helpful comment
Here's a temporary fix :
nano ~/.composer/vendor/laravel/valet/cli/Valet/Brew.phpvalet install