Answers for "cannot validate since a php installation could not be found. use the setting 'php.validate.executablepath' to configure the php executable."

PHP
0

The `php` command cannot be found. Please verify that PHP is installed, or set the `php.executables` setting.

Open Settings.json and put this codes below: for wamp users
"php.validate.executablePath": "C:\wamp64\bin\php\php7.1.9\php.exe",
  "php.executablePath": "C:\wamp64\bin\php\php7.1.9\php.exe"
Posted by: Guest on June-15-2021
0

The `php` command cannot be found. Please verify that PHP is installed, or set the `php.executables` setting.

Step 1 - Go to 'Environmental Variables'.

Step 2 - Find PATH variable and add the path to your PHP folder.

Step 3 - For 'XAMPP' users put 'C:xamppphp' and 'WAMP' users put 'C:wamp64binphpphp7.1.9' ) and save.
Posted by: Guest on June-15-2021
0

The `php` command cannot be found. Please verify that PHP is installed, or set the `php.executables` setting.

Open settings.json and put this code below for xampp users  
"php.validate.executablePath": "C:\xampp\php\php.exe",
  "php.executablePath": "C:\xampp\php\php.exe"
Posted by: Guest on June-15-2021

Code answers related to "cannot validate since a php installation could not be found. use the setting 'php.validate.executablepath' to configure the php executable."

Browse Popular Code Answers by Language