# Configuration of NextCloud (FPM) with Apache instead of Nginx

**URL:** <https://help.nextcloud.com/t/configuration-of-nextcloud-fpm-with-apache-instead-of-nginx/117878>\
**Category:** ℹ️ Support\
**Created:** [June 6, 2021, 8:50am UTC](https://help.nextcloud.com/t/configuration-of-nextcloud-fpm-with-apache-instead-of-nginx/117878 "2021-06-06T08:50:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikka](https://help.nextcloud.com/letter_avatar/mikka/32/6_22734026db12803ebb3e059622ac3534.png) [@mikka](https://help.nextcloud.com/u/mikka)\
**Post date:** [June 6, 2021, 8:50am UTC](https://help.nextcloud.com/t/configuration-of-nextcloud-fpm-with-apache-instead-of-nginx/117878/1 "2021-06-06T08:50:42Z")

</div>

Hello,  
I try to setup NC (fpm image) in docker and I would like to use Apache instead of Nginx.  
Can anyone provide me a sample docker compose file, please?

I was able to get it running with Nginx how it was described on GitHub but I find no information about Apache and FPM.

Do I need only the httpd image from Apache or do I need additionally a php-fpm image?  
But as I understood all the php-fpm stuff is already included in the nextcloud-fpm image or I’m wrong?

Does anybody use Apache with fpm?

Greetings  
Michael

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [September 23, 2024, 4:25pm UTC](https://help.nextcloud.com/t/configuration-of-nextcloud-fpm-with-apache-instead-of-nginx/117878/2 "2024-09-23T16:25:26Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 13, 2024, 9:50am UTC](https://help.nextcloud.com/t/configuration-of-nextcloud-fpm-with-apache-instead-of-nginx/117878/3 "2024-12-13T09:50:55Z")

</div>


