title: Failed to detect set buildpack https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/php.tgz
body: <h1>Goal</h1>
  <p>I'm very new to Heroku, and I'm trying to deploy a <strong>very simple site</strong> into Heroku.</p>
  <p><strong>Site Structure</strong></p>
  <p><a href="https://i.stack.imgur.com/uqfHC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uqfHC.png" alt="enter image description here" /></a></p>
  <p>As you can see, I'm not trying to deploy a complex Node.js or Laravel Site here.</p>
  <hr />
  <h1>Steps</h1>
  <p>I log-in to heroku of course, then</p>
  <pre><code>cd idesign4u/
  git init
  heroku git:remote -a idesign4u
  git add .
  git commit -am &quot;Project Initialization&quot;
  heroku buildpacks:set heroku/php
  </code></pre>
  <p>I got this</p>
  <pre><code>Buildpack set. Next release on idesign4u will use heroku/php.
  Run git push heroku master to create a new release using this buildpack.
  </code></pre>
  <p>I thought I am all set. Then I ran</p>
  <pre><code>git push heroku master
  </code></pre>
  <hr />
  <h1>Result</h1>
  <p>I kept getting</p>
  <pre><code>Counting objects: 67, done.
  Delta compression using up to 4 threads.
  Compressing objects: 100% (64/64), done.
  Writing objects: 100% (67/67), 60.75 MiB | 6.16 MiB/s, done.
  Total 67 (delta 2), reused 0 (delta 0)
  remote: Compressing source files... done.
  remote: Building source:
  remote: 
  remote: -----&gt; Failed to detect set buildpack https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/php.tgz
  remote: More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
  remote: 
  remote:  !     Push failed
  remote: Verifying deploy...
  remote: 
  remote: !   Push rejected to idesign4u.
  remote: 
  To https://git.heroku.com/idesign4u.git
   ! [remote rejected] master -&gt; master (pre-receive hook declined)
  error: failed to push some refs to 'https://git.heroku.com/idesign4u.git'
  </code></pre>
  <blockquote>
  <p>Failed to detect set buildpack <a href="https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/php.tgz" rel="nofollow noreferrer">https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/php.tgz</a></p>
  </blockquote>
  <hr />
  <h1>Questions</h1>
  <p>How do I bypass that?</p>
  <p>Are there any other settings that I need to do in the Heroku site?</p>
  <hr />
  <h1>Note</h1>
  <p>I found some SO post like this one here:</p>
  <p><a href="https://stackoverflow.com/questions/33793325/push-rejected-failed-to-detect-set-buildpack-heroku-php">Push rejected, failed to detect set buildpack heroku/php</a></p>
  <p>I took a look at it, but it is not really relevant in my case here.</p>