2

I need to configure in the ProcFile to work with PHP and JS (nodejs) files.

Apache:PHP through port 80 and Nodejs in other port.

¿Is it possible?

4
  • Well, for one thing, you don't pick the port or the specific web server to use with Heroku apps, and if both projects need to be publicly accessible, you'll likely need to create separate Heroku projects. Commented Jun 25, 2013 at 0:48
  • The typical port for apache would be 80... but at the same time running nodejs on another port (any). That's my point Commented Jun 25, 2013 at 0:51
  • 1
    Right, but (a) Heroku projects run on different ports, and (b) Heroku apps don't use Apache anyway. And (c) a Heroku app only has one public port, so if you need more than one you'll have to set up multiple projects and have them communicate with each other. Commented Jun 25, 2013 at 0:53
  • Understand. Thank you. Commented Jun 25, 2013 at 0:55

1 Answer 1

1

Check out this custom Heroku buildpack: https://github.com/taeram/heroku-buildpack-php-columbo

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.