** set opcache.restrict_api to a path in the used php.ini configuration and ensure opcache is enabled.
** invoke File::invalidateFileCache($file) on a file outside that path
nothing
Got error 'PHP message: PHP Warning: Zend OPcache API is restricted by "restrict_api" configuration directive in .../libraries/vendor/joomla/filesystem/src/File.php on line 337'
Seen on Joomla 5.3.1 and php 8.2 and 8.3
Labels |
Added:
No Code Attached Yet
|
That indeed solved the issue.
That indeed solved the issue.
@brbrbr Could you just leave a comment in that PR joomla-framework/filesystem#75 that you have successfully tested that it fixes this issue here? Thanks in advance.
@brbrbr That would be fixed by joomla-framework/filesystem#75 in the framework. Could you test and report back there? Just manually apply the change from there.