# Nextcloud via Docker - php.ini?

**URL:** <https://help.nextcloud.com/t/nextcloud-via-docker-php-ini/13883>\
**Category:** ℹ️ Support\
**Created:** [June 10, 2017, 11:33am UTC](https://help.nextcloud.com/t/nextcloud-via-docker-php-ini/13883 "2017-06-10T11:33:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dude78](https://help.nextcloud.com/letter_avatar/dude78/32/6_449c533f586939b6e5f246632a46421f.png) [@dude78](https://help.nextcloud.com/u/dude78)\
**Post date:** [June 10, 2017, 11:33am UTC](https://help.nextcloud.com/t/nextcloud-via-docker-php-ini/13883/1 "2017-06-10T11:33:24Z")

</div>

Hello community,

I`m pretty new with Nextcloud and docker. Nevertheless, Nextcloud is running pretty well on Docker. However since upgrading to Nextcloud 12, I always get the hint in the admin panel to configure opcache. The message is referring to the php.ini. Unfortunately I cannot find any php.ini within my Nextcloud container. Sorry if this is a real noob question, but as I already mentioned, it`s all pretty new to me and hopefully someone can give me a hint where I can find the php.ini to configure opcache as well as php max file size.

As docker image, Im gonna use the official image here: [https://hub.docker.com/\_/nextcloud/](https://hub.docker.com/_/nextcloud/)

Thanks for any hint!

---

<div class="post-metadata">

**Author:** ![Mauricio](https://help.nextcloud.com/user_avatar/help.nextcloud.com/mauricio/32/4497_2.png) [@Mauricio](https://help.nextcloud.com/u/Mauricio)\
**Post date:** [June 10, 2017, 1:17pm UTC](https://help.nextcloud.com/t/nextcloud-via-docker-php-ini/13883/2 "2017-06-10T13:17:02Z")

</div>

Hi, you can find the `php.ini` config in the [repo file](https://github.com/nextcloud/docker/blob/8198762ec5e898be8f41ebf3a9aa31b24b39006e/12.0/apache/Dockerfile#L23), also there are some `*.ini` files in `/usr/local/etc/php/conf.d/` within the container, but i think you need to setup the opcache setting in your `config.php` file, kinda like this `'memcache.local' => '\\OC\\Memcache\\APCu'`.

Here are the [Docs](https://docs.nextcloud.com/server/11/admin_manual/configuration_server/caching_configuration.html) about it.

Cheers!

---

<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 2, 2024, 1:56pm UTC](https://help.nextcloud.com/t/nextcloud-via-docker-php-ini/13883/3 "2024-12-02T13:56:54Z")

</div>



---

<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 4, 2024, 1:32pm UTC](https://help.nextcloud.com/t/nextcloud-via-docker-php-ini/13883/4 "2024-12-04T13:32:36Z")

</div>


