Re: [PHP] Re: PHP-5.5.2 +opcache segfaults with Piwik

[email protected] (Lester Caine)
Newsgroups php.general
Message-ID <[email protected]>
Jan Ehrhardt wrote:
>> 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  - 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.uk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.