Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

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

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

memory_limit issues


Reply

2 Posts   1870 Views

Avatar
andy_woz

25 January 2007 at 12:37pm Community Member, 1 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

Avatar
Sam

26 January 2007 at 10:19am Administrator, 685 Posts

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