Heroku PHP and Node.js in the same app Heroku PHP and Node.js in the same app heroku heroku

Heroku PHP and Node.js in the same app


You'll need to inform the build API that you'd like to use multiple buildpacks. Try:

$ heroku buildpacks:clear$ heroku buildpacks:add heroku/php$ heroku buildpacks:add heroku/nodejs

Then you can inspect the compiled slug via heroku run bash to verify that the bins are where you expect them to be.


The bin directory in heroku is : .heroku/php/bin/php