-
Incident report
-
Resolution: Unresolved
-
Trivial
-
None
-
2.4.3
-
FreeBSD 10.1-RELEASE-p6 GENERIC amd64
nginx version: nginx/1.6.2
PHP 5.6.6 (fpm-fcgi) Zend Engine v2.6.0 with Zend OPcache v7.0.4-dev
I'm trying to use a Zabbix API and tried two libraries (https://github.com/lundgrenalex/microzabbixapiconnector and http://zabbixapi.confirm.ch/). On both of them I've got an error:
2015/03/13 23:16:19 [error] 1454#0: *166460 FastCGI sent in stderr: "PHP message: PHP Fatal error: Cannot redeclare zbx_err_handler() (previously declared in /web/mgmt/zabbix/include/classes/core/ZBase.php:273) in /web/mgmt/zabbix/include/classes/core/ZBase.php on line 273" while reading response header from upstream, client: 172.16.204.17, server: stat.local, request: "POST /zabbix/api_jsonrpc.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "stat.local"