# PHP Opcache Support in 7.0.2 Docker

**URL:** <https://community.open-emr.org/t/php-opcache-support-in-7-0-2-docker/20867>\
**Category:** Management and Administration\
**Tags:** infrastructure\
**Created:** [July 21, 2023, 2:09am UTC](https://community.open-emr.org/t/php-opcache-support-in-7-0-2-docker/20867 "2023-07-21T02:09:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jesdynf](https://community.open-emr.org/user_avatar/community.open-emr.org/jesdynf/32/15698_2.png) [@jesdynf](https://community.open-emr.org/u/jesdynf)\
**Post date:** [July 21, 2023, 2:09am UTC](https://community.open-emr.org/t/php-opcache-support-in-7-0-2-docker/20867/1 "2023-07-21T02:09:40Z")

</div>

FYI, I just accepted Jake Mevorach’s PR for running OpenEMR with “Opcache”, a PHP accelerator that caches compiled templates, something Stephen Nielson and I had been looking at last month. I’ve seen people talk about “fifty percent” speed boosts, though your results may vary. It’s not in production 7.0.1 yet, we’ve got it in 7.0.2 and flex, but we’re keeping a close eye on it.

If you’re not running our containers but you’d still like to pick this tech up, [the patch](https://github.com/openemr/openemr-devops/commit/2ea3d1e7d395126e8f74ab36ec2deb6cbcc39376) is a good guide to what’s necessary – pull in the package, turn it on, throw a couple switches in `php.ini`. (Running xdebug? Better look opcache up first.) If you are running our containers, then as soon as we let this into 7.0.1, you can just re-`up` and it should pick the revised image up and get moving with it.

Thanks a ton, Jake!

---

<div class="post-metadata">

**Author:** ![Jacob\_Mevorach](https://community.open-emr.org/user_avatar/community.open-emr.org/jacob_mevorach/32/22319_2.png) [@Jacob\_Mevorach](https://community.open-emr.org/u/Jacob_Mevorach)\
**Post date:** [August 13, 2026, 3:10am UTC](https://community.open-emr.org/t/php-opcache-support-in-7-0-2-docker/20867/2 "2026-08-13T03:10:56Z")

</div>

Hey just saw this! Thanks Asher; very much enjoyed contributing this!
