CLI

How to set correct PHP-version in PhpStorms terminal with Laravel Herd

If you use Laravel Herd and PhpStorm, you may have noticed that the PHP set in PhpStorms config isn't being used in the terminal. Even though it's pointed to your e.g. php80 binary, when you enter php -v in PhpStorms terminal, you will get the default version set in…

Läs mer Läs mer
Publicerad av Victor Eliasson - 2 minuters läsning
PHP

How to Upgrade to PHP 7.2 (or above) with Laravel Valet from a previous version

Install new PHP:Follow steps 1-3 from this guidebrew cleanup -s Stop current php: brew services stop php@7.1 Start the new service: brew services start php@7.2 Link new PHP: brew link --force --overwrite php@7.2 Update composer: composer global update Reinstall valet:valet install Remove Valets…

Läs mer Läs mer
Publicerad av Victor Eliasson - 2 minuters läsning
  • Surbrunnsgatan 59
  • 113 27 Stockholm