Grant in php.general (Sun, 25 Aug 2013 02:31:29 -0700): >I've tried php-5.5.2 and 5.5.3 but both segfault with piwik unless the >opcache is disabled. Someone filed a piwik bug but was told it's a >php bug: > >http://dev.piwik.org/trac/ticket/4093
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 seemed to correct this fatal error on my side: [02-Sep-2013 10:35:40 Europe/Paris] PHP Fatal error: Cannot redeclare _json_encode() (previously declared in /usr/local/lib/php/share/piwik/libs/upgradephp/upgrade.php:109) in /usr/local/lib/php/share/piwik/libs/upgradephp/upgrade.php on line 109 I do not know what opcache has to do with it, although I suspect that Piwik is calling itself a lot of times and that opcache is trailing behind (or something like that). Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php