Questions tagged [opcache]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
72 views

magento 1.9x switching widgets

My magento acts up weird. I have normall magento caching enabled, but also OPcache enabled on php 7.1.10. The problem i have is when i load the website in one browser i see the following: When i ...
1
vote
1answer
2k views

How to flush opcache?

According to there documentation i needed to use phpinfo() to check for inconsistencies in my php.ini. I have put it in the index.php because all other files are not accessable from the web. Or give ...
0
votes
0answers
110 views

setup-cron. ERROR: zend-opcache missing

Recently we have discovered the problem in magento 2.1.8 When this command runs: php bin/magento setup:cron:run it logs error in log : [2017-09-08 07:24:02] setup-cron.ERROR: Following required ...
8
votes
1answer
1k views

What causes the following error: Warning: Illegal string offset 'is_in_stock' … AdvancedInventory.php on line 87

During module development I've been writing a plugin which modifies the product options collection before it was loaded (adds a description field). Here is it: etc/di.xml <type name="Magento\...
0
votes
1answer
2k views

Which file should be modified/created to enable OPcache? [duplicate]

Magento strongly recommends PHP OPcache is enabled for performance reasons. PHP 5.6 with Zend OPcache is installed on my server but i dont know which file should be modified to enable OPcache features....
9
votes
2answers
9k views

OpCache - Recommended Configuration for Magento2

I'm working with a Magento 2 stack, I'm reusing some of my Magento 1 OpCache configuration. I've already learned that now we need to enable comments but I'm pretty sure that other values can be ...