Level 2
Found a fix. For me it was adjusting the PATH.
export PATH=$PATH:~/.composer/vendor/bin
Then uninstall valet, install valet and park your Sites directory again.
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Installation of Laravel Valet went great and it serves .html. But whenever I want a .php like index.php to be served, it says "File not found."
Found a fix. For me it was adjusting the PATH.
export PATH=$PATH:~/.composer/vendor/bin
Then uninstall valet, install valet and park your Sites directory again.
Please or to participate in this conversation.