Open
Description
I tried the other solutions to this problem but nothing worked in my case.
System:
Ubuntu 16.04
PHP 7.1.2-4
npm 3.10.8
VSCode 1.18.1
Extension PHP IntelliSense 2.0.1
Got a message: "The PHP Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted."
Opening the option Help > Toggle Developer Tools and the output is
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9 [Extension Host] PHP process disconnected
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9 [Extension Host] PHP process connected
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9 [Extension Host] PHP process disconnected
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9 [Extension Host] PHP process connected
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9 [Extension Host] PHP process disconnected
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9 [Extension Host] PHP process connected
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9 [Extension Host] PHP process disconnected
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9 [Extension Host] PHP process connected
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9 [Extension Host] PHP process disconnected
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9 The PHP Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted.
The Console (PHP Language) output is:
Parsing file:///home/00448406160/projetos/Development/Diakonia/vendor/autoload.php
[Info - 15:17:54] Connection to server got closed. Server will restart.
[Info - 15:17:55] 5891 files total
[Info - 15:17:55] Indexing project for definitions and static references
Parsing file:///home/00448406160/projetos/Development/Diakonia/vendor/autoload.php
[Error - 15:17:55] Connection to server got closed. Server will not be restarted.