Skip to content

php language server is crashed in vscode version 1.13.1 #422

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
andares opened this issue Jun 20, 2017 · 5 comments
Closed

php language server is crashed in vscode version 1.13.1 #422

andares opened this issue Jun 20, 2017 · 5 comments

Comments

@andares
Copy link

andares commented Jun 20, 2017

VSCode Version: 1.13.1
OS Version: Ubuntu 16.04 LTS @ Gnome
PHP Version: 7.1.2

Linux desktop16 4.4.0-81-generic #104-Ubuntu SMP Wed Jun 14 08:17:06 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
➜  ~ php -v
PHP 7.1.2 (cli) (built: Mar 14 2017 11:11:05) ( ZTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.1.2, Copyright (c) 1999-2017, by Zend Technologies

Steps to Reproduce:

  1. update to version 1.13.1
  2. open a php project
  3. output:
    [Info - 12:22:13 PM] Connection to server got closed. Server will restart.
    [Info - 12:22:14] PM Connection to server got closed. Server will restart.
    [Info - 12:22:15 PM] Connection to server got closed. Server will restart.
    [Info - 12:22:22 PM] Connection to server got closed. Server will restart.
    [Error - 12:22:23 PM] Connection to server got closed. Server will not be restarted.

now it can not search for php symbol.

I have not upgrade php within three month, just upgrade vscode.

@andares
Copy link
Author

andares commented Jun 20, 2017

should I remove ~/.config/Code dir to reset cache file & reinstall all extensions? I had repeatedly reinstall vscode 1.13.1 & 1.13.0, it always crash.

@felixfbecker
Copy link
Owner

"open a php project" is not enough for me to reproduce, can you narrow it down to a specific set of files and share them? Also try upgrading PHP, the newest version contains bug fixes

@ADmad
Copy link
Contributor

ADmad commented Jun 20, 2017

@andares Since you are using PHP 7.1.2 this is probably the same as #418. There's a bug in this particular PHP version. Upgrading PHP will most likely fix your problem.

@andares
Copy link
Author

andares commented Jun 21, 2017

OK, I try to upgrade php.

@andares
Copy link
Author

andares commented Jun 21, 2017

I upgrade php to version 7.1.6, problem is resolved. thanks all :-)

@andares andares closed this as completed Jun 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants