# PHP OPCache question

**URL:** https://syncloud.discourse.group/t/php-opcache-question/225
**Category:** Configuration and Setup
**Created:** [19 July 2022 14:54 UTC](https://syncloud.discourse.group/t/php-opcache-question/225 "2022-07-19T14:54:13Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![sttrebo](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@sttrebo](https://syncloud.discourse.group/u/sttrebo)
#### Post date: [19 July 2022 14:54 UTC](https://syncloud.discourse.group/t/php-opcache-question/225/1 "2022-07-19T14:54:13Z")

</div>

In my Nextcloud settings - Security and Setup warnings there’s a message about the OPCache:

- The PHP OPcache module is not properly configured. See the [documentation ↗](https://docs.nextcloud.com/server/24/go.php?to=admin-php-opcache) for more information.
  - The OPcache interned strings buffer is nearly full. To assure that repeating strings can be effectively cached, it is recommended to apply `opcache.interned_strings_buffer` to your PHP configuration with a value higher than `8`.

is this something specific to my system or is this something that you manage? is it an issue?

thanks  
steve

---

<div class="post-metadata">

### Author: ![boris](https://avatars.discourse-cdn.com/v4/letter/b/74df32/32.png) [@boris](https://syncloud.discourse.group/u/boris)
#### Post date: [20 July 2022 07:07 UTC](https://syncloud.discourse.group/t/php-opcache-question/225/2 "2022-07-20T07:07:01Z")

</div>

I guess it will not hurt to set it to 16 by default.  
Do you want to give it a try and create a PR?  
Change it here: [nextcloud/php.ini at master · syncloud/nextcloud · GitHub](https://github.com/syncloud/nextcloud/blob/master/config/php.ini#L1887)

---

<div class="post-metadata">

### Author: ![sttrebo](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@sttrebo](https://syncloud.discourse.group/u/sttrebo)
#### Post date: [20 July 2022 13:04 UTC](https://syncloud.discourse.group/t/php-opcache-question/225/3 "2022-07-20T13:04:59Z")

</div>

I’ll give it a shot, never tried before. this should be interesting… 🙂

---

<div class="post-metadata">

### Author: ![sttrebo](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@sttrebo](https://syncloud.discourse.group/u/sttrebo)
#### Post date: [4 August 2022 23:52 UTC](https://syncloud.discourse.group/t/php-opcache-question/225/4 "2022-08-04T23:52:42Z")

</div>

first PR, hope I did it right. do I need to do anything else at this time?

---

<div class="post-metadata">

### Author: ![boris](https://avatars.discourse-cdn.com/v4/letter/b/74df32/32.png) [@boris](https://syncloud.discourse.group/u/boris)
#### Post date: [10 August 2022 08:04 UTC](https://syncloud.discourse.group/t/php-opcache-question/225/5 "2022-08-10T08:04:04Z")

</div>

Great!  
I will push it to the store and let you know asap.

---

<div class="post-metadata">

### Author: ![boris](https://avatars.discourse-cdn.com/v4/letter/b/74df32/32.png) [@boris](https://syncloud.discourse.group/u/boris)
#### Post date: [11 August 2022 18:51 UTC](https://syncloud.discourse.group/t/php-opcache-question/225/6 "2022-08-11T18:51:34Z")

</div>

Pushed to the store in v603, please test.

---

<div class="post-metadata">

### Author: ![sttrebo](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@sttrebo](https://syncloud.discourse.group/u/sttrebo)
#### Post date: [11 August 2022 23:42 UTC](https://syncloud.discourse.group/t/php-opcache-question/225/7 "2022-08-11T23:42:49Z")

</div>

good to go on my end.
