Laravel valet linked php error

Sworup Shakya picture Sworup Shakya · May 12, 2016 · Viewed 16k times · Source

I got an error.

$ valet install

[DomainException]                
Unable to determine linked PHP.  

install

'which' command returns:

$ which php
/usr/local/Cellar/php70/7.0.6/bin/php

Answer

Abbotton picture Abbotton · Nov 17, 2017

I'm used Homebrew to installed php7.1 , So I ran this command in terminal
ln -s /usr/local/opt/php71/bin/php /usr/local/bin/php
and everything is done.