Changing document root in the app platform
I’m trying to change the document root when deploying a PHP app on the app platform.
I’ve tried committing a Procfile with:
web: heroku-php-apache2 docs/
..in order to change the doc root to docs/
(as per heroku docs on the topic)
It gets picked up during the deployment but doesn’t seem to take effect when running the app.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×