The PHP Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted

Viewed 7786

I have this error in my vscode after I upgraded to PHP8.

enter image description here

I tried to increase my memory_limit to 4GB or 8GB as this link described.

enter image description here

also, I using the v2.3.14 (last version) of the PHP IntelliSense extension.

enter image description here

4 Answers

I also had same issue on WSL2 Ubuntu 20.04.2 LTS trying to use PHP 8.0.2, although my vscode server path is slightly different. Ran the update, reopened vscode and everything is working like it should.

cd ~/.vscode-server/extensions/felixfbecker.php-intellisense-2.3.14/
composer update

In xampp and php 8.0.19 on win 11 the solution

cd ~/.vscode-server/extensions/felixfbecker.php-intellisense-2.3.14/
composer update

typed in vscode solves the problem.

Related