Enabling OPcache for Nextcloud in CWPpro

Enabling OPcache for Nextcloud in CWPpro

Enabling OPcache for Nextcloud in CWPpro is pretty simple and should only take a few minutes.

In order to enable OPcache in CWP7 you need to add the path to opcache.so in your php.ini in addition to the settings Nextcloud specifies.

The path will look like this assuming you are using PHP 7.3 from PHP Selector V2 to select PHP 7.3.x for your PHP distribution (which also requires an additional edit to your Nextcloud .htaccess file.) The first line of your .htaccess should read:

AddHandler application/x-httpd-php73 .php

Continue reading Enabling OPcache for Nextcloud in CWPpro