title: ‘php.exe’ is not recognized as an internal or external command, operable program or batch file
body: <blockquote>
    <p>‘php.exe’ is not recognized as an internal or external command,
    operable program or batch file.</p>
  </blockquote>
  
  <p>Why does that error occur even though I've added PHP to my environment variables?</p>
  
  <p>My environment variable PATH is shown below:</p>
  
  <blockquote>
    <p>C:\Program Files\NVIDIA Corporation\PhysX\Common;C:\Program
    Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files\PC
    ...............
    Files\QTSystem\;A:\xampp\php\php.exe</p>
  </blockquote>
  
  <p>I'm using Windows 7.</p>