[ZBX-9380] Fatal error: Call to undefined function memory_get_usage() Created: 2015 Mar 09 Updated: 2022 Sep 09 Resolved: 2022 Sep 07 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 2.0.15rc1 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Trivial |
Reporter: | Ivo Kurzemnieks | Assignee: | Unassigned |
Resolution: | Unsupported version | Votes: | 0 |
Labels: | memory, php | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Windows 7; Xampp 1.5.4 with PHP 5.1.6 |
Description |
2.0 installation requirements say that minimum PHP version is 5.1.6. If PHP is compiled without option --enable-memory-limit, the function memory_get_usage() creates a fatal error for users with Debug mode = Enabled. |
Comments |
Comment by Ivo Kurzemnieks [ 2022 Sep 07 ] |
The option --enable-memory-limit is now always enabled since PHP 5.2.1 and is no longer available. Since minimum version is 7.4.0, this is no longer an issue on later versions. |