Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-12564

ez4.0 stable trunk Call to undefined memory_get_peak_usage() with php 5.1

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.0.1, 4.1.0alpha1
    • 4.0.0
    • Misc
    • None
    • Operating System: Red Hat Enterprise Linux / Cent OS
      PHP Version: (please be specific, like '4.4.3' or '5.1.5'): 5.1.6
      Database and version:
      Browser (and version):

    Description

      Today i test ez4.0 stable trunk on Red Hat Enterprise Linux / Cent OS with php 5.1.6
      And when you enable debug output you get a fatal error

      FastCGI-stderr: PHP Fatal error: Call to undefined function memory_get_peak_usage() in .../lib/ezutils/classes/ezdebug.php on line 1590

      memory_get_peak_usage() is available since php 5.2

      I don't think it is a good idea to use this function, because on many linux systems the standard php is on version 5.1

      Attachments

        Activity

          People

            cyberwolf cyberwolf
            4d91e976-d41f-487b-ae85-f7216bd06dac@accounts.ibexa.co Felix Woldt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: