How to set PHP XAMPP path in Windows 7 environtment variable

  • Go to: Control Panel\System and Security\System\Advance System Setting
  • Under Advance - click Environment Variable
  • Click Path & click Edit
  • Copy the address php.exe in: xampp\php\php.exe
  • Paste it to Path 

See below YouTube below for detail: YouTube below by Gemul Channel