I recently upgraded to PHP 7.
I put this in /etc/php.d/opcache.ini
opcache.file_cache = /var/www/html/.opcache opcache.file_cache_only = 1
and created a directory (with root privileges)
When I visit the site, nothing was created in the .opcache folder
a phpinfo(); reflects the changes I made to opcache.ini
How can I get PHP 7 Opcache to work optimally with WordPress?
update The problem was resolving the folder with witch. "I'm sure Apache can write to it.
What are the best settings for it? Safety and speed?
source share