All I did was create a new Laravel project with composer create-project laravel/laravel games_review
and I started getting these errors without touching a single line in the PHP code.
I also see a VS Code error that says
The PHP Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted.
Source: PHP IntelliSense (Extension)
I have PHP in my path and when I type php -v
into the console, it says
PHP 8.0.3 (cli) (built: Mar 2 2021 23:34:05) ( ZTS Visual C++ 2019 x64 )
Copyright (c) The PHP Group
Zend Engine v4.0.3, Copyright (c) Zend Technologies
In VSCode, I have three PHP extension packs installed
- PHP Intelephense
- PHP Debug
- PHP IntelliSense
I have nothing related to PHP in my VSCode settings.json
file