by whalesalad · 13y ago · 0 comments
Do it in 30 seconds:
mkdir ~/testypoo && cd ~/testypoo
echo "<?php phpinfo(); ?>" > index.php
git init
git add .
git commit -m "woohoo php in the cloud!"
heroku create
git push heroku master
Now enjoy your insanely simple + free PHP hosting. I was pretty excited and surprised when I discovered this."Simple" and "free", sure, but "enjoy"?
So yes. I enjoy using PHP for all its faults.
However, "productive" and "latest frameworks/languages" is a bit of a false dichotomy.
As for cheap shots at PHP, I see PHP like the USA. Easy to take cheap shots at because its so large and runs so much. For all its faults/flaws its still pretty productive though.
I am an Aussie for the record.
I then asked if I can use the platform for non-Facebook apps. Here's their response:
"Hi– it's not yet officially supported, but if you try pushing one, you'll find that it works."
To use:
heroku config:add BUILDPACK_URL=git://github.com/iphoting/heroku-buildpack-php-tyler.git