# Mautic docker and opcache

**URL:** <https://forum.mautic.org/t/mautic-docker-and-opcache/9164>\
**Category:** Product Support\
**Created:** [August 4, 2017, 5:04pm UTC](https://forum.mautic.org/t/mautic-docker-and-opcache/9164 "2017-08-04T17:04:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Max](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@Max](https://forum.mautic.org/u/Max)\
**Post date:** [August 4, 2017, 5:04pm UTC](https://forum.mautic.org/t/mautic-docker-and-opcache/9164/1 "2017-08-04T17:04:39Z")

</div>

We ran `php -i | grep opcache` within a mautic docker container but it did not return anything, we added opcache.enable=1 to /usr/local/etc/php/conf.d/mautic-php.ini but php -i still does not mention opcache  
  
  
  
Does mautic/mautic docker support opcache and if it does how can we enable it?

---

<div class="post-metadata">

**Author:** ![Max](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@Max](https://forum.mautic.org/u/Max)\
**Post date:** [August 4, 2017, 5:04pm UTC](https://forum.mautic.org/t/mautic-docker-and-opcache/9164/2 "2017-08-04T17:04:39Z")

</div>

We ran `php -i | grep opcache` within a mautic docker container but it did not return anything, we added opcache.enable=1 to /usr/local/etc/php/conf.d/mautic-php.ini but php -i still does not mention opcache

Does mautic/mautic docker support opcache and if it does how can we enable it?

---

<div class="post-metadata">

**Author:** ![ninjoan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ninjoan/32/1005_2.png) [@ninjoan](https://forum.mautic.org/u/ninjoan)\
**Post date:** [August 4, 2017, 7:29pm UTC](https://forum.mautic.org/t/mautic-docker-and-opcache/9164/3 "2017-08-04T19:29:10Z")

</div>

i have never use dockers before but all my Mautic have opcache enable and is on the php.ini file that have your PHP version (5, 7 )
