php executable not found install php 7 and add it to your path or set the php.executablepath setting code example

Example 1: php executable not found visual studio code ubuntu

sudo apt-get install php

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

Step 1 : copy php.exe file locaton (Exp. C:\xampp\php)
Step 2 : Right click on This Pc -> Click on Properties
Step 3 : Click on Advance System setting -> Environment Veriabl
Step 4 : Doubble clik on path -> New 
Step 5 : Paste php.exe path -> ok -> ok Done...

Example 3: PHP executable not found. Install PHP 7 and add it to your PATH

{
    "php.validate.executablePath": "C:\\wamp64\\bin\\php\\php7.0.4\\php.exe",
    "php.executablePath": "C:\\wamp64\\bin\\php\\php7.0.4\\php.exe"
}

Tags:

Php Example