# Today I had trouble with Valet not being …

- Link: https://cagrimmett.com/micro/eb4f016c35/
- Published: 2023-03-05T13:02:01-05:00
- Author: Chuck Grimmett

Today I had trouble with [Valet](https://laravel.com/docs/10.x/valet) not being 
properly linked to the correct PHP version installed via Homebrew. Here is how I
fixed it. I’m sure I’ll need this again, so putting it here.

    ```wp-block-code
    brew unlink php && brew link php
    brew services restart --all
    composer global update
    valet start
    ```
