# PHP Opcache not correctly

**URL:** <https://help.nextcloud.com/t/php-opcache-not-correctly/12925>\
**Category:** ℹ️ Support\
**Created:** [May 22, 2017, 7:46pm UTC](https://help.nextcloud.com/t/php-opcache-not-correctly/12925 "2017-05-22T19:46:46Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![clouduser](https://help.nextcloud.com/letter_avatar/clouduser/32/5_5575768a8748004e209b776fc1b2916d.png) [@clouduser](https://help.nextcloud.com/u/clouduser)\
**Post date:** [May 24, 2017, 11:29am UTC](https://help.nextcloud.com/t/php-opcache-not-correctly/12925/11 "2017-05-24T11:29:25Z")

</div>

Here is the config for CentOS 7… (is anyone is searching for it 😉 )

`~# yum install php70w-opcache`

`~# nano /etc/php.d/opcache.ini`

Find this values with STRG+W and change them!

```
opcache.enable=1
opcache.enable_cli=1
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=10000
opcache.memory_consumption=128
opcache.save_comments=1
opcache.revalidate_freq=1
```

---

_[View the full topic](https://help.nextcloud.com/t/php-opcache-not-correctly/12925)._
