Skip to content

Language Server Crashing and VS Code is hanged when opening Laravel 8 project with PHP 8.0 #817

Open
@atanu1761

Description

@atanu1761

In ububtu 18.04 64 bit system, when opening a Laravel 8 project in PHP 8.0, the PHP language server is getting crashed and the whole system is getting hanged.

To reproduce the issue, you need to check in ubuntu 18.04 system. Install PHP 8.0 and enable it. Setup a Laravel 8 project. And open it. Open the terminal in VS code. You may not get the time to open it. But if you hurry then you can open the terminal. In the PROBLEMS tab there it is showing 4k+ issues. Then in OUTPUT tag it is showing some message, somethig is exited. Then you can't do anything.

It should work like normal. The extension is working perfect in PHP 7.4 but when u enabling PHP 8.0 then you are doomed.

Platform and version
OS: ubuntu 18.04
PHP: 8.0
Laravel: 8
Intelephense version: v1.7.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions