We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36474
    • 108 Posts
    Hello friends,

    i try to fight against an "php 5.1.3RC4-dev server" to use evolution 1.0.13.

    I have issue with memory_get_peak_usage.

    So my question is the minimum requirement for evolution 1.0.13 is really PHP version 5.0+ (excluding 5.1.6/5.2.0) ?
    Can i work with php 5.1.3RC4-dev server ?

    thanks for your time.
      • 36474
      • 108 Posts
      hello me,


      ok i understand that memory_get_peak_usage function need php 5.2.0 at least.
      So if i'am right.
      It should be a good thing to change the minimum requirement of Modx evolution 1.0.13 with php 5.2.0

      Someone can confirm my analyze ?

      thanks
      • You could replace the line with memory_get_peak_usage by this:

        $stats['phpMemory'] = '';

        It is only used for debugging informations.
          • 36474
          • 108 Posts
          thanks to answer.

          $stats['phpMemory'] = '';


          Good idea.

          I deactivated the code, but your solution is better.

          Thanks.

          • Was this the only problem with PHP 5.1.x?
              • 36474
              • 108 Posts
              It's complicated to say because the server had a special configuration.
              The web hosting provider blocks certain function.
              With evolution 1.0.12, it seems work, for now.
              For evolution 1.0.13, i need display the warning to know where are the problem.
              But i don't know, how to do.

              ******************
              ok i found, how return the warning. [ed. note: dexeryl last edited this post 10 years, 1 month ago.]