I am running Nextcloud in a cloud server running CentOS 7. It is up to date with the latest updates from the CentOS repo’s. Nextcloud is configured for stable updates. A few days ago I noticed that an update to Nextcloud 18.0.4 was available. I was running PHP 7.1 sourced from the software collections repositories. I saw that they had PHP 7.2 available, so I decided to install that switch to it. I also completed the upgrade to Nextcloud 18.0.4. I have just one issue remining where the Nextloud Security and Setup warnings show as follows:
"There are some warnings regarding your setup.
- The PHP OPcache is not properly configured. For better performance it is recommended to use the following settings in the
php.ini
:
opcache.enable=1
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=10000
opcache.memory_consumption=128
opcache.save_comments=1
opcache.revalidate_freq=1
```"
I checked the way I had configured this with PHP 7.1 and I couldn't find any difference. I also ran phpinfo out of the same apache directory where the nextcloud index.php is located. The screen shots below show the relevant phpinfo. So it looks ok to me but nextcloud doesn't agree. Any ideas?
![opcache1|628x390](upload://yF1JX2Y4uFJ0ZN5olpq6GgGiNqA.png)
![opcache2|499x499](upload://a7vTwQGWdNFWWmewmkYPhjzVMFU.png)