I am having a wierd issue. A week ago when I was working on this machine everything with Laravel Valet worked like a charm. Today I cannot even start it.
I've tried to reinstall both Valet, PHP, nginx and dnsmasq. I have tried to switch between PHP versions as well, but no. I just get the DomainException described in the title.
which valet
/usr/local/bin/valet
which php
/usr/bin/php
php -v
PHP 7.1.8 (cli) (built: Aug 7 2017 15:02:45) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
Everything above seems ok to me?
But then when I want to install valet:
valet install
Stopping nginx....
Installing nginx configuration...
Installing nginx directory...
Updating PHP configuration...
[DomainException]
Unable to determine linked PHP.
install
Have anyone else experienced this issue? I cannot find anything valet specific about it when googling, just found a lot of people having this trouble with homestead.