Skip to content

Instantly share code, notes, and snippets.

@enemyers
Last active January 10, 2023 12:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save enemyers/34839ff92d4ebebb2e4420d55a107594 to your computer and use it in GitHub Desktop.
Save enemyers/34839ff92d4ebebb2e4420d55a107594 to your computer and use it in GitHub Desktop.
"php.validate.executablePath" - xampp & vscode - linux distribution
edit in settings.json (vscode)
"php.validate.executablePath": "/opt/lampp/bin/php"
{
"editor.fontLigatures": false,
"editor.fontFamily": "Menlo for powerline",
"php.validate.executablePath": "/opt/lampp/bin/php"
}
@Jacobkyalo
Copy link

it does not work for me

@enemyers
Copy link
Author

Hello Jacob, in my case the php location had it in that location, you must look in the bin folder of your xampp installation or your php. that, you set that in your vscode json with: "php.validate.executablePath": "your path php"

@Jacobkyalo
Copy link

"php.validate.executablePath": "/opt/lampp/bin/php",
This worked. Thank you 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment