Skip to content

Instantly share code, notes, and snippets.

@BPScott
Created December 9, 2011 15:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BPScott/1451935 to your computer and use it in GitHub Desktop.
Save BPScott/1451935 to your computer and use it in GitHub Desktop.
PHP on Heroku (please don't do this)

So Heroku's Cedar stack supports PHP but they're not exactly proud of it as it's not really mentioned anywhere apart from the Heroku & Facebook apps page

Try it out:

mkdir heroku-php
cd heroku-php
git init
heroku create --stack cedar

echo "<?php phpinfo();" > index.php
git add index.php
git commit -m "First commit"
git push heroku master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment