title: Attempting to Install and Use PHP via GitBash
body: <p>I've been struggling with getting php and gitbash to work together on my Windows 7 machine.</p>
  
  <p>I went through the installing PHP for Windows Command Line following the steps on <a href="http://php.net/manual/en/install.windows.commandline.php" rel="nofollow">http://php.net/manual/en/install.windows.commandline.php</a>. I put it in C:\PHP and created environment variables for the 3 .exe files they suggested.</p>
  
  <p>Now, I am doing all of this to attempt to get PHPMD to run. <a href="http://phpmd.org/download/index.html" rel="nofollow">http://phpmd.org/download/index.html</a>
  However, when I trying to execute the line:</p>
  
  <p>~ $ curl -s <a href="http://getcomposer.org/installer" rel="nofollow">http://getcomposer.org/installer</a> | php </p>
  
  <p>I get a bash.exe": php: command not found.</p>
  
  <p>From what I am reading this is due to environment variables but I am positive I have those setup correctly.</p>
  
  <p>Any help or suggestions would be greatly appreciated. </p>