Since Heroku began Facebook integration awhile ago, I’ve wanted to deploy a few PHP files without having to use Facebook and just viewing my PHP on Heroku. This link here, Deploying WordPress to Heroku simply states you can. But, I can’t seem to figure out the PHP portion. I have a Rack app already built and tried some implementation that would just view PHP instead of HTML, and that didn’t work. All it did is display static text. The same with just having a PHP file on the app in the /public folder, just displays static text. This has to work somehow since the link I shared works you through the process of getting WordPress on Heroku. If anyone could, tell me how to get a few PHP files running on my Heroku app, I’d really appreciate it.
Thanks
You don’t need to do anything – just push your PHP code up and Heroku magic will occur – I’m no PHP guru but recently had to deploy a PHP site and I just pushed the code as is to a new Cedar app, no changing of directory structures etc and it works.