Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Laravel valet linked php error

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
like image 482
Sworup Shakya Avatar asked May 12 '16 06:05

Sworup Shakya


People also ask

How do you know if valet is working?

Once Valet is installed, try pinging any *.test domain on your terminal using a command such as ping foobar.test . If Valet is installed correctly you should see this domain responding on 127.0.0.1 . Valet will automatically start its required services each time your machine boots.

What is valet Linux?

Valet Linux is a Laravel development environment for Linux minimalists. No Vagrant, no /etc/hosts file. You can even share your sites publicly using local tunnels. Yeah, we like it too. Valet Linux configures your system to always run Nginx in the background when your machine starts.


1 Answers

if your PHP version 7.x and valet > 2.0.8 update valet valet stop

valet uninstall

brew install php

composer global require laravel/valet

then valet install

like image 70
Basem Olimy Avatar answered Sep 29 '22 02:09

Basem Olimy