Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

itsjoshbruce's avatar

Laravel Valet 404 - not found

Streaming last night, ran into something where Valet would not serve a site: https://www.twitch.tv/videos/531045091

Not really a server person - more front-end, please pardon the ignorance.

Not sure what to check or how.

The other 5 links I have registered work as expected. Even one with the same exact setup.

Straight HTML (or PHP). Root of the project. Don't believe anything modified. File named index.html (php).

0 likes
2 replies
itsjoshbruce's avatar

Sure thing. Not sure what I should be expecting so can't add more than the following.

alex@Joshs-2017-MacBook-Pro joshbrucedev % valet links
+-----------+-----+-----------------------+---------------------------------------------------+
| Site      | SSL | URL                   | Path                                              |
+-----------+-----+-----------------------+---------------------------------------------------+
| .DS_Store |     | http://.DS_Store.test | /Users/alex/.config/valet/Sites/.DS_Store         |
| link      |     | http://link.test      | /Users/alex/Public/8fold/laravel-amos/base/public |
| media     |     | http://media.test     | /Users/alex/Public/8fold/laravel-amos/base/public |
| software  |     | http://software.test  | /Users/alex/Public/8fold/laravel-amos/base        |
| timer     |     | http://timer.test     | /Users/alex/Public/twitch-things/timers           |
| timers    |     | http://timers.test    | /Users/alex/Public/joshbrucedev                   |
+-----------+-----+-----------------------+---------------------------------------------------+
alex@Joshs-2017-MacBook-Pro joshbrucedev % php valet link timers
Could not open input file: valet
alex@Joshs-2017-MacBook-Pro joshbrucedev % valet start
Restarting php...
Restarting nginx...
Valet services have been started.
alex@Joshs-2017-MacBook-Pro joshbrucedev % php valet link timers
Could not open input file: valet
alex@Joshs-2017-MacBook-Pro joshbrucedev % 

Thank you for the request. (I'm going to switch back to MAMP Pro in the interim.)

Hope that helps.

Please or to participate in this conversation.