title: Trying to run heroku locally and get a error 'vendor' is not a command
body: <p>I am trying to run heroku locally using the command</p>
  <pre><code>heroku local
  </code></pre>
  <p>However, it returns:</p>
  <pre><code>[OKAY] Loaded ENV .env File as KEY=VALUE Format
  'vendor' is not recognized as an internal or external command, operable program or batch file.
  [DONE] Killing all proccess with signal null
  Exited with exit code 1
  </code></pre>
  <p>I am using Heroku PHP within Windows 7</p>
  <p>In my <code>PATH</code> environmental variable, I have both:
  <code>./vendor/bin</code> and <code>C:\Users\user-name\AppData\Roaming\Composer\vendor\bin</code></p>
  <p>(The last one is an empty folder)</p>
  <p>I searched for anything similar but I couldn't find.
  Any thoughts on it?</p>
  <p>Thanks in advance</p>
  <p><strong>Update</strong></p>
  <p>The error was in my Procfile:</p>
  <pre><code>web: vendor/bin/heroku-php-apache2 public/
  </code></pre>
  <p>Then I change all slashes to backslashes ():</p>
  <pre><code>web: vendor\bin\heroku-php-apache2 public\
  </code></pre>
  <p>Now its working but I am getting this error:</p>
  <pre><code>../heroku/heroku-buildpack-php/bin/heroku-php-apache2: line 196: php-fpm: command not found
  This program requires PHP 5.5.11 or newer; check your 'php-fpm' command.
  </code></pre>
  <p>I think there is something wrong related to my composer.</p>
  <p>The source file for <code>heroku-php-apache2</code> can be found <a href="https://github.com/heroku/heroku-buildpack-php/blob/master/bin/heroku-php-apache2" rel="nofollow noreferrer">here</a>.
  The line 196 is presented below.</p>
  <pre><code>196: { php-fpm -n -v | php -n -r 'exit((int)version_compare(preg_replace(&quot;#PHP (\S+) \(fpm-fcgi\).+$#sm&quot;, &quot;\\1&quot;, file_get_contents(&quot;php://stdin&quot;)), &quot;5.5.11&quot;, &quot;&lt;&quot;));'; } || { echo &quot;This program requires PHP 5.5.11 or newer; check your 'php-fpm' command.&quot; &gt;&amp;2; exit 1; }
  </code></pre>
  <p>My composer.json file is:</p>
  <pre><code>{
    &quot;require&quot; : {
      &quot;ext-mcrypt&quot;: &quot;*&quot;,
      &quot;facebook/php-sdk-v4&quot; : &quot;~5.0&quot;,
      &quot;google/apiclient&quot;: &quot;2.0&quot;  
    },
    &quot;require-dev&quot;: {
          &quot;mashape/unirest-php&quot;: &quot;3.*&quot;,
          &quot;heroku/heroku-buildpack-php&quot;: &quot;*&quot;
      }
  }
  </code></pre>
  <p>I tried to specific <code>require</code> php in composer.json but it didn't changed. Any thoughts on that?
  Thank you in advance.</p>