Page 1 of 1

'Checking PHP memory limit (min 8M, recommend 16M) '

Posted: Wed May 09, 2007 6:21 pm
by Dipankar
Hello Friends  :)

After installing CMSMS, I had opened the URL http://www.mydomain.com/index.php .... the "Required settings" results were perfectly ok, but in "Recommended settings" it showed the following warning for 'Checking PHP memory limit (min 8M, recommend 16M) '
---------------
Could not retrieve a value.... passing anyways.
You may not have enough memory to run CMSMS correctly, or with all of your desired addons. If possible, you should try to get your system admin to raise this value. Proceed with caution.
--------------

So, how to fix this issue, is it due to faulty installation or I need to upgrade my Server configuration or somthing else....

Thank you

Dipankar  ???

Re: 'Checking PHP memory limit (min 8M, recommend 16M) '

Posted: Thu May 10, 2007 10:22 am
by tsw
for some reason installer couldn't read the amount of memory allocated to php. this might be due to server admin setting the value to infinity or somehow setting it so that php cant read it (security by obscurity I suppose)

you can try to check the setting by creating new test file on your server name it info.php and this content



then open that page in browser and look for memory_limit and what value it tells.

or you can just try to continue with the installer, if everything works dont worry about it, but if you get strange errors it might be that php is running out of memory and the limit should be raised.

hope this helps

Re: 'Checking PHP memory limit (min 8M, recommend 16M) '

Posted: Thu May 10, 2007 5:11 pm
by Dipankar
Hello  friend (tsw)..

thanks a lot for the suggested solution, I wil be on that way right away.... will update you on the same with the next 12-24 hours..... thanks again..

Dipankar  :)

Re: 'Checking PHP memory limit (min 8M, recommend 16M) '

Posted: Tue Jun 19, 2007 5:21 pm
by Jack @ PharSide
I had the same problem but kept on with the install. Now, I can't seem to install any large mdoules like Xinha or Calendar. Both errored out (essentialled timed out i guess). Could this a porblem caused by the memory after install? I am also running with MySQL v5.0. Don't think that caused any issues though?

Re: 'Checking PHP memory limit (min 8M, recommend 16M) '

Posted: Tue Jun 19, 2007 5:55 pm
by Nullig
@SmackDown

You could try adding:

ini_set("memory_limit", "16M");

near the top of your config.php file, to see if that helps.

Nullig