VSCode language server php improper validation

297 views Asked by At

I have a project setup at AWS, and I do make changes on the server via VS Code ssh-remote connection. Now the problem is php version installed there is 7.0.18 and when I opened the code in VS it shows error that

The language server needs at least php7.1 installed. Version found:7.0.18

Now when I search the solutions for it they all said download php and change settings.json to include php.executablepath = "path to php"

now if I add path to php as /usr/bin/php7.4 it still shows the same error, and I guess it searches in remote computer not in local computer.

What can I do, if I can't upgrade any version on remote system.

0

There are 0 answers