I had a problem which appeared all of the sudden saying:
Unable to determine linked PHP.
which I could not solve so I uninstalled valet, php and dependencies. Then I installed fresh php7.1
but when I run valet install
I get quiet slightly similar error: Homebrew PHP appears not to be linked.
First, find the PHP version installed via.
brew list
In my case it was [email protected], then
brew link [email protected] --force --overwrite
and finally
valet install
:)
Homebrew can't find the correct PHP version, have you linked them up properly?
brew link php71
brew link [email protected] --force --overwrite
That will push this--
If you need to have this software first in your PATH instead consider running: echo 'export PATH="/usr/local/opt/[email protected]/bin:$PATH"' >> ~/.bash_profile echo 'export PATH="/usr/local/opt/[email protected]/sbin:$PATH"' >> ~/.bash_profile
I ran both independently then tried valet install (worked like a charm).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With