Skip to content

Instantly share code, notes, and snippets.

@jbueza
Created October 7, 2012 21:14
Show Gist options
  • Save jbueza/3849618 to your computer and use it in GitHub Desktop.
Save jbueza/3849618 to your computer and use it in GitHub Desktop.
λ php_heroku: heroku create hello-php-jbueza
Creating hello-php-jbueza... done, stack is cedar
http://hello-php-jbueza.herokuapp.com/ | [email protected]:hello-php-jbueza.git
λ php_heroku: git init
Initialized empty Git repository in /private/tmp/php_heroku/.git/
λ php_heroku: git remote add heroku [email protected]:hello-php-jbueza.git
λ php_heroku: echo "<?php phpinfo(); ?>" >> index.php
λ php_heroku: git add . && git commit -m "PHP Time." .
[master (root-commit) 663c056] PHP Time.
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 index.php
λ php_heroku (master): git push heroku master
Counting objects: 3, done.
Writing objects: 100% (3/3), 234 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
-----> Heroku receiving push
-----> PHP app detected
-----> Bundling Apache version 2.2.22
-----> Bundling PHP version 5.3.10
-----> Discovering process types
Procfile declares types -> (none)
Default types for PHP -> web
-----> Compiled slug size: 9.5MB
-----> Launching... done, v3
http://hello-php-jbueza.herokuapp.com deployed to Heroku
To [email protected]:hello-php-jbueza.git
* [new branch] master -> master
λ php_heroku (master):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment