Re: PHP-5.5.2 +opcache segfaults with Piwik
| From: | Jan Ehrhardt | Date: | Mon, 02 Sep 2013 13:51:53 +0000 |
| Subject: | Re: PHP-5.5.2 +opcache segfaults with Piwik | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-322021@lists.php.net to get a copy of this message | ||
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