[ZBX-5198] PHP 5.1.6 -> Call to undefined function memory_get_peak_usage() Created: 2012 Jun 15  Updated: 2017 May 30  Resolved: 2012 Aug 30

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Documentation (D), Frontend (F)
Affects Version/s: 2.0.0, 2.1.0
Fix Version/s: 2.0.3rc1, 2.1.0

Type: Incident report Priority: Critical
Reporter: Oleksii Zagorskyi Assignee: Martins Valkovskis
Resolution: Fixed Votes: 0
Labels: outdated, php
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

PHP 5.1.6



 Description   

Fatal error: Call to undefined function memory_get_peak_usage() in /zab/www-dev/200/include/classes/debug/CProfiler.php on line 145

It visible with used PHP 5.1.6 & enabled "Debug mode" for authenticated user.

http://www.php.net/manual/ru/function.memory-get-peak-usage.php
says that (PHP 5 >= 5.2.0)

Also see a bug ZBX-5185 confirmed for 5.1.6

So which version is supported for Zabbix frontend version 2.0 ?



 Comments   
Comment by richlv [ 2012 Jun 16 ]

5.1.6, of course
http://www.zabbix.com/documentation/2.0/manual/installation/requirements#frontend

Comment by Alexey Fukalov [ 2012 Aug 30 ]

dev branch:

Comment by Toms (Inactive) [ 2012 Aug 31 ]

Review my changes, if OK merge

Comment by Toms (Inactive) [ 2012 Aug 31 ]

TESTED

Comment by Alexey Fukalov [ 2012 Aug 31 ]

Fixed in 2.0.3rc1 30011, 2.1.0rc1 30013

Generated at Sat Apr 20 00:48:53 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.