Version: 4.1.2 Reporter: Büro Ballmann Weber —
dear ee-support,
I just tried to install your newest update when I ran into this error-message right after hitting “update”:
Warning Zend OPcache API is restricted by “restrict_api” configuration directive ee/EllisLab/ExpressionEngine/Service/Updater/Runner.php, line 108
Severity: E_WARNING
kindest regards, matthias
In system/ee/installer/controllers/wizard.php around line 2019 edit to:
// Clear any caches of the config file
if (function_exists('apc_delete_file'))
{
@apc_delete_file($this->config->config_path) || apc_clear_cache();
}
if (function_exists('opcache_invalidate'))
{
// Check for restrict_api path restriction
if (($opcache_api_path = ini_get('opcache.restrict_api')) && stripos(SYSPATH, $opcache_api_path) !== 0)
{
return TRUE;
}
opcache_invalidate($this->config->config_path);
}
return TRUE;
}
and in system/ee/installer/updater/EllisLab/ExpressionEngine/Updater/Service/Updater/Runner.php around 277
if (function_exists('opcache_reset'))
{
// Check for restrict_api path restriction
if (($opcache_api_path = ini_get('opcache.restrict_api')) && stripos(SYSPATH, $opcache_api_path) !== 0)
{
return;
}
opcache_reset();
}
ExpressionEngine implements Markdown Extra and BBCode. Please see the Markdown Extra docs and the BBCode Wikipedia article for a full reference.
**bold**
, __bold__
, *italics*
, _italics_
, ~strike/del~
, `code()`
bold, italics, strike/del, code()
Link: [link title](https://example.com)
Image: ![alt text](https://example.com/image.jpg)
[blockquote]...[/blockquote]
, [quote]...[/quote]
, and Markdown style:
> Some quoted text. > > This is all one quote.
[code]...[/code]
, and you can also specify the language for syntax highlighting, [code=php]...[/code]
GitHub flavored Markdown code fences are also supported:
``` public function decoderRing($str) { return str_rot13($str); } ```