‘php.exe’ is not recognized as an internal or external command, operable program or batch file.
Why does that error occur even though
A:\xampp\php\php.exe
The PATH environment variable must contain paths only, not file names.
Make that
A:\xampp\php