https://dev.to/arielmejiadev #the-problem The problem The problem would be, when you need to return to an updated PHP version... there would start the real mess...

It would work, then to return to an updated PHP version (8.1 or 8.2), you would face an issue if you try to switch back with this command: // use to work with the most recent version valet use php #fix-the-issue-and-go-back-to-the-most-recent-php-version Fix the issue and go back to the most recent PHP version: This command would unlink all 7.x versions, (but you can unlink only a specific one): brew unlink php@7.0 php@7.1 php@7.2 php@7.3 php@7.4

Then it would link the most recent PHP version brew link php

Then just instruct Valet to use the most recent PHP version: valet use php --force
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners