Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » memory_limit issues

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1846 Views
  • andy_woz
    Avatar
    Community Member
    1 Post

    memory_limit issues Link to this post

    I'm trying to get an install finished and stumble on the memory_limit check everytime:
    SilverStripe needs a minimum of 20M allocated to PHP, but recommends 32M. You only have allocated (no value )

    I checked with my host and they told me to put a modified php.ini in my public_html folder which i dutifully did and set the limit to 32M from 8M. The installer is still not picking up the value.
    the code is there, plain as day:

    ;;;;;;;;;;;;;;;;;;;
    ; Resource Limits ;
    ;;;;;;;;;;;;;;;;;;;

    max_execution_time = 30 ; Maximum execution time of each script, in seconds
    max_input_time = 60   ; Maximum amount of time each script may spend parsing request data
    memory_limit = 32M ; Maximum amount of memory a script may consume (32MB)

    Any Ideas on how to get around this?

    I also set:
    allow_call_time_pass_reference from 'Off' to 'On' which was the recommendation.

    Thanks a bunch.

    A

  • Sam
    Avatar
    Administrator
    679 Posts

    Re: memory_limit issues Link to this post

    There's a bug in the memory-size checker that only affects some servers. Can you tell me what your server configuration is?

    1846 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.