title: Sublime Text 3 - PHP Build System
body: <p>Struggling with this quite a bit. </p>
  
  <p>Trying to add a PHP build system this is what I have:</p>
  
  <pre><code>{
      "cmd" : ["php", "$file"],
      "file_regex": "php$",
      "selector"  : "source.php"
  }
  </code></pre>
  
  <p>Now, building a file called <code>test.php</code> which contains: <code>&lt;?php echo "Hello, World!"; ?&gt;</code> yields this error: </p>
  
  <pre><code>[WinError 2] The system cannot find the file specified
  [cmd: ['php', 'D:\\www\\sandbox\\php\\test.php']]
  [dir: D:\www\sandbox\php]
  </code></pre>
  
  <p>PHP is definitely on my <code>PATH</code> and running <code>php test.php</code> via command line works.</p>
  
  <p>Can anyone shed some light here? </p>