Hello,
is there some way to switch caching to filesystem? Using JA Ego template I'm receiving this error:

Warning: Zend OPcache API is restricted by "restrict_api" configuration directive in /data/web/virtuals/270546/virtual/www/domains/new.osvobodse.cz/libraries/vendor/joomla/filesystem/src/File.php on line 342

from hosting provider (wedos.com running on PHP 8.2) I received answer that Zend OPcache is supported on file level. Direct access is not possbile. They recommended setting:

Administrator → Extensions → Plugin Manager → System – Page Cache

however it didn't help to remove that warning.

Is there something else that can be done? For now I'm just hiding warnings.

Thank you,
Jozef

PS: The login provided is for live site so please hide warnings again after verification. Thank you.

    xkrchnav Hi

    The PHP 8.2.1 version on your site may throw this warning.

    Could you try to edit the php.ini file on your server side? and edit the OPCache setting in your php.ini file to set the value to blank:

    opcache.restrict_api=""

    It's set to: /data/config now.

    No, I don't have access to server setting. It's shared hosting so I have only access to my root folder where index.php with joomla is located. The reply from ISP was that Zend OPCache is supported, but not directly as I wrote above, using file. Not exactly sure what that means and how can this be used in JA template... Thank you.

    OPcache is where the server caches the compiled php code for faster execution so it should relate to your ISP, Zend OPCache & PHP version. Our template is used for frontend view though 🙂

    Write a Reply...
    You need to Login to view replies.