# How to configure heroku for slim framework

**URL:** <https://discourse.slimframework.com/t/how-to-configure-heroku-for-slim-framework/1137>\
**Category:** Questions\
**Created:** [February 9, 2017, 2:50am UTC](https://discourse.slimframework.com/t/how-to-configure-heroku-for-slim-framework/1137 "2017-02-09T02:50:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kakarot](https://avatars.discourse-cdn.com/v4/letter/k/8edcca/32.png) [@kakarot](https://discourse.slimframework.com/u/kakarot)\
**Post date:** [February 9, 2017, 2:50am UTC](https://discourse.slimframework.com/t/how-to-configure-heroku-for-slim-framework/1137/1 "2017-02-09T02:50:22Z")

</div>

I want to create slim application on heroku, but don’t know how to configure it like web server for rewrite and all

Anyone who has worked with heroku please tell me

---

<div class="post-metadata">

**Author:** ![SVL](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@SVL](https://discourse.slimframework.com/u/SVL)\
**Post date:** [February 9, 2017, 9:49am UTC](https://discourse.slimframework.com/t/how-to-configure-heroku-for-slim-framework/1137/2 "2017-02-09T09:49:38Z")

</div>

Knowing nothing about heroku but there are some choices appently:

- heroku-php-apache2 (for PHP & Apache2)
- heroku-php-nginx (for PHP & Nginx)
- heroku-hhvm-apache2 (for HHVM & Apache2)
- heroku-hhvm-nginx (for HHVM & Nginx)

htaccess should work fine on Apache2
