[SOLVED] PHP executable not found. Install PHP 7 and add it to your PATH or set the php.executablePath setting

If you get the same error like below in VScode editor then you are the right place to 

"PHP executable not found. Install PHP 7 and add it to your PATH or set the php.executablePath setting"

error_img_vscode

Solution: this error is shown because the PHP IntelliSense extension in VScode editor.

1) To solve this open setting button or go to file -> preferences ->  settings

Tags