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

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
Dipankar
Forum Members
Forum Members
Posts: 19
Joined: Wed May 09, 2007 4:51 am

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

Post 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  ???
Dipankar Banerjee
www.dbanerjee.com
Kolkata
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

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

Post 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
Dipankar
Forum Members
Forum Members
Posts: 19
Joined: Wed May 09, 2007 4:51 am

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

Post 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  :)
Dipankar Banerjee
www.dbanerjee.com
Kolkata
Jack @ PharSide

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

Post 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?
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

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

Post 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
Locked

Return to “[locked] Installation, Setup and Upgrade”