Re: Re: PHP-5.5.2 +opcache segfaults with Piwik
| From: | Lester Caine | Date: | Mon, 02 Sep 2013 14:42:33 +0000 |
| Subject: | Re: Re: PHP-5.5.2 +opcache segfaults with Piwik | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-322022@lists.php.net to get a copy of this message | ||
Jan Ehrhardt wrote:
Jan - could you post the solution on http://dev.piwik.org/trac/ticket/4093 - better that you get the credit than one of us pinch it ;) -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.ukCould you try to add a function_exists check tolibs/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.