# \#opcache

**URL:** https://help.nextcloud.com/tag/opcache/55.md

[Latest](https://help.nextcloud.com/latest.md) · [Categories](https://help.nextcloud.com/categories.md) · [Tags](https://help.nextcloud.com/tags.md)

---

## [Solution to Nextcloud OPcache "interned strings buffer is nearly full" on Debian/Ubuntu with PHP-FPM](https://help.nextcloud.com/t/solution-to-nextcloud-opcache-interned-strings-buffer-is-nearly-full-on-debian-ubuntu-with-php-fpm/250520)

<div class="topic-metadata">

**Author:** [@fw114](https://help.nextcloud.com/u/fw114)\
**Replies:** 0\
**Last updated:** [October 3, 2026, 10:00am UTC](https://help.nextcloud.com/t/solution-to-nextcloud-opcache-interned-strings-buffer-is-nearly-full-on-debian-ubuntu-with-php-fpm/250520 "2026-10-03T10:00:23Z")

</div>

If Nextcloud shows a warning similar to: The PHP OPcache module is not properly configured. The OPcache interned strings buffer is nearly full. To ensure that repeating strings can be effectively cached, it is recommen…

---

## [OPcache issue overflow](https://help.nextcloud.com/t/opcache-issue-overflow/234215)

<div class="topic-metadata">

**Author:** [@pippin](https://help.nextcloud.com/u/pippin)\
**Replies:** 3\
**Last updated:** [October 22, 2025, 4:22pm UTC](https://help.nextcloud.com/t/opcache-issue-overflow/234215 "2025-10-22T16:22:51Z")

</div>

▶ Support intro The Basics Nextcloud Server version (e.g., 29.x.x): Nextcloud Hub 10 (31.0.9) Operating system and version (e.g., Ubuntu 24.04): Ubuntu Linux 24.04.3 Web server and version (e.g, Apache 2.4.25): Ap…

---

## [Errors in administration dashboard/screen](https://help.nextcloud.com/t/errors-in-administration-dashboard-screen/226908)

<div class="topic-metadata">

**Author:** [@rtstarliper](https://help.nextcloud.com/u/rtstarliper)\
**Replies:** 5\
**Last updated:** [June 14, 2025, 4:01pm UTC](https://help.nextcloud.com/t/errors-in-administration-dashboard-screen/226908 "2025-06-14T16:01:30Z")

</div>

The Basics Nextcloud Server version (e.g., 29.x.x): This Nextcloud is on version 30.0.4 Operating system and version (e.g., Ubuntu 24.04): Debian GNU/Linux 12 (bookworm) Web server and version (e.g, Apache 2.4.25):…

---

## [PHP OPcache wont budge and how to insert the opcache GUI?](https://help.nextcloud.com/t/php-opcache-wont-budge-and-how-to-insert-the-opcache-gui/216167)

<div class="topic-metadata">

**Author:** [@LeHarry](https://help.nextcloud.com/u/LeHarry)\
**Replies:** 12\
**Last updated:** [January 29, 2025, 12:35pm UTC](https://help.nextcloud.com/t/php-opcache-wont-budge-and-how-to-insert-the-opcache-gui/216167 "2025-01-29T12:35:17Z")

</div>

Hello there. Nextcloud 30.0.5 tells me to increase the opcache.interned\_strings\_buffer within a php.ini I located a php.ini and made the change from 8 to 64 :muscle:: /etc/php/8.2/fpm/php.ini Restarted php: syste…

---

## [The PHP OPcache module is not properly configured](https://help.nextcloud.com/t/the-php-opcache-module-is-not-properly-configured/135870)

<div class="topic-metadata">

**Author:** [@Marquys](https://help.nextcloud.com/u/Marquys)\
**Replies:** 26\
**Last updated:** [October 9, 2024, 3:01pm UTC](https://help.nextcloud.com/t/the-php-opcache-module-is-not-properly-configured/135870 "2024-10-09T15:01:57Z")

</div>

Hello, I have these warning in my Nexcloud : The PHP OPcache module is not properly configured: The maximum number of OPcache keys is nearly exceeded. To assure that all scripts can be hold in cache, it is recommende…

---

## [Where to Modify PHP OPcache Values?](https://help.nextcloud.com/t/where-to-modify-php-opcache-values/195571)

<div class="topic-metadata">

**Author:** [@vatolin](https://help.nextcloud.com/u/vatolin)\
**Replies:** 4\
**Last updated:** [June 19, 2024, 1:57pm UTC](https://help.nextcloud.com/t/where-to-modify-php-opcache-values/195571 "2024-06-19T13:57:02Z")

</div>

NC version 29.0.1 PHP version 8.2.19 Postgres version 13.14 Linux 5.10.0-29-amd64 x86\_64 Apache version unknown, but I think it’s up to date I am not really sure, where I should add these lines in order to prevent u…

---

## [Can't get rid off "The PHP OPcache module is not properly configured" Warning](https://help.nextcloud.com/t/cant-get-rid-off-the-php-opcache-module-is-not-properly-configured-warning/140625)

<div class="topic-metadata">

**Author:** [@citizenserious](https://help.nextcloud.com/u/citizenserious)\
**Replies:** 6\
**Last updated:** [May 17, 2024, 5:43am UTC](https://help.nextcloud.com/t/cant-get-rid-off-the-php-opcache-module-is-not-properly-configured-warning/140625 "2024-05-17T05:43:54Z")

</div>

Support introSorry to hear you’re facing problems :slightly\_frowning\_face: help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where …

---

## [Cache for faster transfer with external SSD](https://help.nextcloud.com/t/cache-for-faster-transfer-with-external-ssd/190329)

<div class="topic-metadata">

**Author:** [@Lorenzo\_Taiocchi](https://help.nextcloud.com/u/Lorenzo_Taiocchi)\
**Replies:** 1\
**Last updated:** [May 4, 2024, 7:42am UTC](https://help.nextcloud.com/t/cache-for-faster-transfer-with-external-ssd/190329 "2024-05-04T07:42:17Z")

</div>

Hi everyone. I have a Nextcloud server with a 4TB HDD, and I would like to add an SSD for caching. Is it possible? Thanks

---

## [How to make opcache settings permanent across updates via docker](https://help.nextcloud.com/t/how-to-make-opcache-settings-permanent-across-updates-via-docker/186280)

<div class="topic-metadata">

**Author:** [@RayVen](https://help.nextcloud.com/u/RayVen)\
**Replies:** 3\
**Last updated:** [May 2, 2024, 3:29pm UTC](https://help.nextcloud.com/t/how-to-make-opcache-settings-permanent-across-updates-via-docker/186280 "2024-05-02T15:29:31Z")

</div>

Hey, I needed higher opcache.memory\_consumption values for my nextcloud docker (apache) installation and changed values in /usr/local/etc/php/conf.d/opcache-recommended.ini this seems to work, but this file doesn’t kee…

---

## [PHP OPCache Error](https://help.nextcloud.com/t/php-opcache-error/184275)

<div class="topic-metadata">

**Author:** [@jdsklajD](https://help.nextcloud.com/u/jdsklajD)\
**Replies:** 4\
**Last updated:** [March 6, 2024, 1:52pm UTC](https://help.nextcloud.com/t/php-opcache-error/184275 "2024-03-06T13:52:55Z")

</div>

Ever since upgrading to version 28 of nextcloud, I see the following error message in the admin settings. Does anyone else have this message or know how to fix it? Merci. The PHP OPcache module is not properly configur…

---

## [Memory cache for shared hosting](https://help.nextcloud.com/t/memory-cache-for-shared-hosting/2126)

<div class="topic-metadata">

**Author:** [@sushidave](https://help.nextcloud.com/u/sushidave)\
**Replies:** 14\
**Last updated:** [February 6, 2024, 2:32am UTC](https://help.nextcloud.com/t/memory-cache-for-shared-hosting/2126 "2024-02-06T02:32:19Z")

</div>

Hello fellows, I just joined this forum and am happy to become part of the community! Could someone help me with this question? “How do you install and enable a local memcache as mentioned the admin manual (https://do…

---

## [Nextcloud 18: Zend OPcache can't be temporary enabled](https://help.nextcloud.com/t/nextcloud-18-zend-opcache-cant-be-temporary-enabled/101263)

<div class="topic-metadata">

**Author:** [@Guillermo](https://help.nextcloud.com/u/Guillermo)\
**Replies:** 8\
**Last updated:** [February 4, 2024, 12:41am UTC](https://help.nextcloud.com/t/nextcloud-18-zend-opcache-cant-be-temporary-enabled/101263 "2024-02-04T00:41:41Z")

</div>

Hello: My stack is: Nextcloud: 18.0.11 PHP-FPM: Version 7.4.13 Apache: 2.4.25 Debian 9 Stretch The warning in Nextcloud log is: Zend OPcache can’t be temporary enabled (it may be only disabled till the end of req…

---

## [Speeding up Nextcloud - PHP opcache and jit?](https://help.nextcloud.com/t/speeding-up-nextcloud-php-opcache-and-jit/179694)

<div class="topic-metadata">

**Author:** [@erasedhammer](https://help.nextcloud.com/u/erasedhammer)\
**Replies:** 3\
**Last updated:** [January 22, 2024, 10:15pm UTC](https://help.nextcloud.com/t/speeding-up-nextcloud-php-opcache-and-jit/179694 "2024-01-22T22:15:58Z")

</div>

Nextcloud Hub 6 (27.1.5) Operating system and version : Debian 12 Nginx 1.25.3 PHP 8.2 I’ve been trying to get page loading times to speed up, but unfortunately, they still take 2-6 seconds. I’ve used plenty of other…

---

## [Almacenamiento en caché o en niveles](https://help.nextcloud.com/t/almacenamiento-en-cache-o-en-niveles/174909)

<div class="topic-metadata">

**Author:** [@lorente](https://help.nextcloud.com/u/lorente)\
**Replies:** 0\
**Last updated:** [November 22, 2023, 5:48pm UTC](https://help.nextcloud.com/t/almacenamiento-en-cache-o-en-niveles/174909 "2023-11-22T17:48:17Z")

</div>

Buenas, Llevo tiempo utilizando nextcloud y me gustaría hacer una instalación de cero. Me gustaría poder configurar un almacenamiento en cache. He visto la documentación pero no creo que sea lo que estoy buscando. Mi…

---

## [How to view the content of interned Strings buffer?](https://help.nextcloud.com/t/how-to-view-the-content-of-interned-strings-buffer/171290)

<div class="topic-metadata">

**Author:** [@vitachaos](https://help.nextcloud.com/u/vitachaos)\
**Replies:** 1\
**Last updated:** [October 1, 2023, 6:34pm UTC](https://help.nextcloud.com/t/how-to-view-the-content-of-interned-strings-buffer/171290 "2023-10-01T18:34:05Z")

</div>

On Adminsitration settings page I spotted this warning. I want to know how can I view the content of interned Strings buffer? The PHP OPcache module is not properly configured. See the documentation :arrow\_upper\_right: …

---

## [Nextcloud 27 \[solved\]Zend OPcache is generating 502 Bad gateway error](https://help.nextcloud.com/t/nextcloud-27-solved-zend-opcache-is-generating-502-bad-gateway-error/167122)

<div class="topic-metadata">

**Author:** [@henk](https://help.nextcloud.com/u/henk)\
**Replies:** 9\
**Last updated:** [August 1, 2023, 11:43am UTC](https://help.nextcloud.com/t/nextcloud-27-solved-zend-opcache-is-generating-502-bad-gateway-error/167122 "2023-08-01T11:43:20Z")

</div>

My nextcloud displays error 502 when OPcache is enabled. I am running nextcloud on centos 8 nginx version: nginx/1.22.1 PHP 8.2.8 \[Nextcloud\] 27.0.1 journalctlphp-fpm\[2425\]: segfault at 55dc6e620990 ip 00007fb356968…

---

## [OPCache buffer warning due to opcache.memory\_consumption](https://help.nextcloud.com/t/opcache-buffer-warning-due-to-opcache-memory-consumption/158401)

<div class="topic-metadata">

**Author:** [@lallana\_98](https://help.nextcloud.com/u/lallana_98)\
**Replies:** 3\
**Last updated:** [April 24, 2023, 10:16pm UTC](https://help.nextcloud.com/t/opcache-buffer-warning-due-to-opcache-memory-consumption/158401 "2023-04-24T22:16:21Z")

</div>

Good morning! When accesing to the general view tab, I obtain the following warning: The OPcache buffer is nearly full. To assure that all scripts can be hold in cache, it is recommended to apply opcache.memory\_consump…

---

## [The Opcache Afair](https://help.nextcloud.com/t/the-opcache-afair/157946)

<div class="topic-metadata">

**Author:** [@Zatanus](https://help.nextcloud.com/u/Zatanus)\
**Replies:** 2\
**Last updated:** [March 22, 2023, 5:18pm UTC](https://help.nextcloud.com/t/the-opcache-afair/157946 "2023-03-22T17:18:16Z")

</div>

Hi. I have some accounts of my PCs running and syncing with Nextcloud client from Windows and MacOS, everything seems to work fine, but I don’t know if it can work better. My hardware is a dedicated PC for Nextcloud wi…

---

## [Issues with OPcache on shared hoster (All-Inkl)](https://help.nextcloud.com/t/issues-with-opcache-on-shared-hoster-all-inkl/154282)

<div class="topic-metadata">

**Author:** [@jd42](https://help.nextcloud.com/u/jd42)\
**Replies:** 2\
**Last updated:** [January 24, 2023, 7:11am UTC](https://help.nextcloud.com/t/issues-with-opcache-on-shared-hoster-all-inkl/154282 "2023-01-24T07:11:38Z")

</div>

Hey everyone, I’m having issues with the OPcache on my shared hoster (All-Inkl, Premium). OPcache should be available here, but it is operating as file cache (“for safety reasons”). According to php\_info() it should be …

---

## [PHP opcache not configured correctly](https://help.nextcloud.com/t/php-opcache-not-configured-correctly/28271)

<div class="topic-metadata">

**Author:** [@wouterve](https://help.nextcloud.com/u/wouterve)\
**Replies:** 7\
**Last updated:** [July 19, 2022, 1:39pm UTC](https://help.nextcloud.com/t/php-opcache-not-configured-correctly/28271 "2022-07-19T13:39:52Z")

</div>

Hi, I keep on receiving the PHP opcache error in my admin console warning me to adapt my php.ini file to improve perfomance: opcache.enable=1 opcache.enable\_cli=1 opcache.interned\_strings\_buffer=8 opcache.max\_acce…

---

## [PHP7.4 OPcache preloading](https://help.nextcloud.com/t/php7-4-opcache-preloading/127356)

<div class="topic-metadata">

**Author:** [@MichaIng](https://help.nextcloud.com/u/MichaIng)\
**Replies:** 1\
**Last updated:** [November 15, 2021, 4:20pm UTC](https://help.nextcloud.com/t/php7-4-opcache-preloading/127356 "2021-11-15T16:20:15Z")

</div>

Hey guys! As known, PHP7.4 and newer has OPcache preloading as a new feature to enhance performance: PHP: Preloading - Manual It does not only preload the pre-compiled and optimised PHP scripts opcode into memory like …

---

## [Opcache enabled, why mem cache warning?](https://help.nextcloud.com/t/opcache-enabled-why-mem-cache-warning/85961)

<div class="topic-metadata">

**Author:** [@brainchild](https://help.nextcloud.com/u/brainchild)\
**Replies:** 3\
**Last updated:** [July 7, 2021, 2:06pm UTC](https://help.nextcloud.com/t/opcache-enabled-why-mem-cache-warning/85961 "2021-07-07T14:06:13Z")

</div>

Presently, I receive the following the warning on the Administration / Overview page: No memory cache has been configured. To enhance performance, please configure a memcache, if available. Further information can be f…

---

## [Redis, Memcache install verification](https://help.nextcloud.com/t/redis-memcache-install-verification/114992)

<div class="topic-metadata">

**Author:** [@Thomas44](https://help.nextcloud.com/u/Thomas44)\
**Replies:** 4\
**Last updated:** [April 28, 2021, 10:22pm UTC](https://help.nextcloud.com/t/redis-memcache-install-verification/114992 "2021-04-28T22:22:11Z")

</div>

Hello to everyone, Just a quick question. I’m asking myself how can I check that my cache configuration is working? I have this in my config.php: 'memcache.local' =\> '\\\\OC\\\\Memcache\\\\APCu', 'memcache.distributed' =\> '…

---

## [MariaDB - Corrupt OC filecache - after crash](https://help.nextcloud.com/t/mariadb-corrupt-oc-filecache-after-crash/103367)

<div class="topic-metadata">

**Author:** [@tomvk](https://help.nextcloud.com/u/tomvk)\
**Replies:** 4\
**Last updated:** [January 7, 2021, 1:23am UTC](https://help.nextcloud.com/t/mariadb-corrupt-oc-filecache-after-crash/103367 "2021-01-07T01:23:50Z")

</div>

So I am running nextcloud on Debian as a NAS and yesterday it crashed. So I fixed the corrupt nodes, but after that MariaDB errored something like files exceeded limit, so after researching I set: LimitNOFILE=100000 L…

---

## [Nextcloud erkennt opcache nicht](https://help.nextcloud.com/t/nextcloud-erkennt-opcache-nicht/94038)

<div class="topic-metadata">

**Author:** [@regenpfeifer](https://help.nextcloud.com/u/regenpfeifer)\
**Replies:** 5\
**Last updated:** [October 5, 2020, 9:03am UTC](https://help.nextcloud.com/t/nextcloud-erkennt-opcache-nicht/94038 "2020-10-05T09:03:10Z")

</div>

Hallo zusammen, ich habe ein Problem im Zusammenspiel mit einer neuen Installation von Debian 10 Buster und Nextcloud. Konkret geht es um folgendes Szenario: Auf einem bei 1&1 gemieteten Server habe ich ein vom Hoster…

---

## [Nextcloud V19.1 unstable](https://help.nextcloud.com/t/nextcloud-v19-1-unstable/89721)

<div class="topic-metadata">

**Author:** [@goldengel](https://help.nextcloud.com/u/goldengel)\
**Replies:** 1\
**Last updated:** [August 15, 2020, 7:37am UTC](https://help.nextcloud.com/t/nextcloud-v19-1-unstable/89721 "2020-08-15T07:37:04Z")

</div>

I am new on Nextcloud. And new on Ubuntu Linux. A friend installed all. But after he updated from Version 18 to 19, he has no more time. But on clients on Desktop and Android devices, there are so problems in speed. I…

---

## [Problems involving opcache and pcre.jit after upgrading to php-7.3.10 and NC17](https://help.nextcloud.com/t/problems-involving-opcache-and-pcre-jit-after-upgrading-to-php-7-3-10-and-nc17/62476)

<div class="topic-metadata">

**Author:** [@Elliott](https://help.nextcloud.com/u/Elliott)\
**Replies:** 1\
**Last updated:** [October 28, 2019, 2:17am UTC](https://help.nextcloud.com/t/problems-involving-opcache-and-pcre-jit-after-upgrading-to-php-7-3-10-and-nc17/62476 "2019-10-28T02:17:10Z")

</div>

Hi, I’ve been running Nextcloud on a CentOS 7 system (a native booting system, not a VM; using the lighttpd web server) for a short while (since nc13) and it has always behaved pretty well. As of last week, the system …

---

## [PHP7.3 Opcache on Nextcloud 15](https://help.nextcloud.com/t/php7-3-opcache-on-nextcloud-15/43699)

<div class="topic-metadata">

**Author:** [@Zaenky](https://help.nextcloud.com/u/Zaenky)\
**Replies:** 3\
**Last updated:** [January 11, 2019, 6:53am UTC](https://help.nextcloud.com/t/php7-3-opcache-on-nextcloud-15/43699 "2019-01-11T06:53:58Z")

</div>

Hi, i just upgraded my nextcloud manually to Version 15. Also i want so upgrade php from Version 7.0 to 7.3. Now my Nextcloud is on Version 15 and php at Version 7.3. My Problem is that Nextcloud tell me that my opcac…

---

## [Setup Error: Strict-Transport-Security, No memory cache, and PHP OPcache](https://help.nextcloud.com/t/setup-error-strict-transport-security-no-memory-cache-and-php-opcache/31209)

<div class="topic-metadata">

**Author:** [@DonaldLouch](https://help.nextcloud.com/u/DonaldLouch)\
**Replies:** 0\
**Last updated:** [May 3, 2018, 12:22am UTC](https://help.nextcloud.com/t/setup-error-strict-transport-security-no-memory-cache-and-php-opcache/31209 "2018-05-03T00:22:10Z")

</div>

Hey, I have been trying to install Next Cloud! However, I encounter the following errors: The “Strict-Transport-Security” HTTP header is not set to at least “15552000” seconds. For enhanced security, it is recommended…

---

## [Opcache warnings after update](https://help.nextcloud.com/t/opcache-warnings-after-update/31205)

<div class="topic-metadata">

**Author:** [@mountain](https://help.nextcloud.com/u/mountain)\
**Replies:** 7\
**Last updated:** [May 2, 2018, 11:50pm UTC](https://help.nextcloud.com/t/opcache-warnings-after-update/31205 "2018-05-02T23:50:01Z")

</div>

I just updated to Nextcloud 13.0.2, and I’m getting some warnings that weren’t there before. Specifically, this one about opcache: The PHP OPcache is not properly configured. For better performance it is recommended to …

[Next page](https://help.nextcloud.com/tag/opcache/55.md?match_all_tags=true&page=1&tags%5B%5D=opcache)
