Heroku needs to be told it’s PHP not Node.js

(Note – this is a quick dot-point summary for my own benefit. It’s not written up properly.)

So I signed up for Heroku, and spent about three hours trying to work out why my app wouldn’t work.

I was getting errors about “no such file” and it was driving me nuts. I eventually worked out that the /vendor/bin/heroku-php-apache2 file seemed to be missing. So I did composer require --dev heroku/heroku-whatver and that didn’t help much. Continue reading “Heroku needs to be told it’s PHP not Node.js”

Heroku needs to be told it’s PHP not Node.js