Error: spawn /usr/local/bin/php ENOENT
OS: darwin Invoker Version: 2.14.0 Laravel Version: unknown Local project: true PHP Binary Path: /usr/local/bin/php PHP Version: Route: /home
Error:
Error: spawn /usr/local/bin/php ENOENT
I got this too, on an M1 macbook air MacOS 14.6.1
OS: darwin Invoker Version: 2.14.0 Laravel Version: unknown Local project: true PHP Binary Path: /usr/local/bin/php PHP Version: Route: /home
Error:
Error: spawn /usr/local/bin/php ENOENT
Fixed by updating my PHP binary path in the settings. For others that hit this, I use Herd for my PHP installation so I had to point it to:
/Users/samlewis/Library/Application Support/Herd/bin/php
I found this path using which php
For the Invoker team, maybe you could detect Herd installation and default to that version of PHP? Or at least give a more descriptive error message telling users what to fix.