Skip to content

phpcs: Unable to locate phpcs. Command failed: "C:/Servers/php8" --version '"C:/Servers/php8"' is not recognized as an internal or external command, operable program or batch file. #602

Open
@padom08

Description

@padom08

I need help. i have installed php version 8 in location C:\xampp\php. but it's not read by my vscode, I've added the path in Environment System Variables, but it's still not reading. in setting.json the line "php.validate.executablePath": "C:/Servers/php8/php.exe" looks like it's unreadable.
I'm still a beginner, and want to learn.
VSCode version 1.67.2
php 8
Windows 11

image
image

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