title: Can't push PHP application to heroku
body: <p>I'm having trouble pushing my PHP project to Heroku. Every time I try to push I get this error:</p>
  
  <pre><code>----&gt; Heroku receiving push
   !    Heroku push rejected, no Cedar-supported app detected.
  
  To git@heroku.com:intense-hamlet-7552.git
   ! [remote rejected] master -&gt; master (pre-receive hook declined)
  error: failed to push some refs to 'git@heroku.com:intense-hamlet-7552.git'
  </code></pre>
  
  <p>It's my first time using Heroku, so here's what I've done (tried to follow <a href="https://devcenter.heroku.com/articles/git" rel="nofollow noreferrer">this</a>) :</p>
  
  <ol>
  <li>I've created a new folder in my Eclipse workspace.</li>
  <li>In this folder I've run <code>git init</code>.</li>
  <li>I created a new PHP project (in Eclipse) in this folder.</li>
  <li>I run <code>heroku create</code>.</li>
  <li>I commit  my files with TortoiseGit (I've also tried with the command-line, no difference).</li>
  <li>I push the repository with <code>git push heroku master</code></li>
  <li>Then I get the error described above.</li>
  </ol>
  
  <p>I've tried several times with new folders, new repositories but it happens every time.</p>
  
  <p>What am I doing wrong?</p>
  
  <p><strong>EDIT:</strong> For people suggesting duplicated post:</p>
  
  <p>I've seen the post <a href="https://stackoverflow.com/questions/8361475/heroku-push-rejected-no-cedar-supported-app-detected">Heroku push rejected, no Cedar-supported app detected</a> which describes a problem for a Ruby application, where a <code>Gemfile</code> is miss-spelled. My application is a PHP application and does not have a <code>Gemfile</code>.</p>