Re: PHP-5.5.2 +opcache segfaults with Piwik
[email protected] (Jan Ehrhardt)
| Newsgroups | php.general |
|---|---|
| Message-ID | <[email protected]> |
Jan Ehrhardt in php.general (Mon, 02 Sep 2013 10:57:14 +0200):
>Could you try to add a function_exists check to
>libs/upgradephp/upgrade.php?
>
>This at the function declaration of _json_encode:
>if (!function_exists('_json_encode')) { function _json_encode($var, ...
>
>And a extra } at the end.
This patch, together with upgrading to the latest OPcache from github
solved my segfaults and fatal errors.
Jan