Ask Sawal

Discussion Forum
Notification Icon1
Write Answer Icon
Add Question Icon

How to The `php` command cannot be found. Please verify that PHP is installed, or set the `php.executables` setting. (PHP Scripting Language)

3 Answer(s) Available
Answer # 1 #
1
Open Settings.json and put this codes below: for wamp users
2
php.validate.executablePath: C:\\wamp64\\bin\\php\\php7.1.9\\php.exe,
3
  php.executablePath: C:\\wamp64\\bin\\php\\php7.1.9\\php.exe
[8]
Edit
Query
Report
Amit zetbgrw Jannik
PLATING MACHINE OPERATOR
Answer # 2 #
1
Open settings.json and put this code below for xampp users  
2
php.validate.executablePath: C:\\xampp\\php\\php.exe,
3
  php.executablePath: C:\\xampp\\php\\php.exe
[8]
Edit
Query
Report
Aga Shyamlee
BIT SHAVER
Answer # 3 #
1
Step 1 - Go to 'Environmental Variables'.
2
Step 2 - Find PATH variable and add the path to your PHP folder.
3
Step 3 - For 'XAMPP' users put 'C:\xampp\php' and 'WAMP' users put 'C:\wamp64\bin\php\php7.1.9' ) and save.
[7]
Edit
Query
Report
Vladimir jzxck
STEM PROCESSING MACHINE OPERATOR