Page 1 of 1

PHP Memory Limit & Godaddy shared hosting

Posted: Fri Sep 14, 2007 5:58 am
by pbrommer
Hello,

I just wanted to share this information for anyone else new to CMS Made Simple. 

When I was installing CMSMS on my godaddy shared linux account it was unable to determine my PHP Memory limit - think the installation says 8m required / 16m suggested. 

I called Godaddy to ask them how much is available in their shared hosting accounts to determine what I should add to htaccess or php.ini, and they said they couldn't disclose that information due to security reasons.

They've really been pushing several CMSs through their hosting Metropolis lately, so you'd think their shared hosting would be sufficient for it. 

Nevertheless, I've had serious performance issue with CMSMS there, as well as several others they make available in their metropolis, so I tried Host Gator, and it's LIGHTNING fast compared to godaddy. 

During the installation it said the available php memory was 40M.  I'm sure there are other contributing factors, but I just wanted to mention this.  I love the CPanel as well.  Seems to be a great hosting company.

Re: PHP Memory Limit & Godaddy shared hosting

Posted: Fri Jan 11, 2008 12:15 am
by chotaboy
you"d think lol

but this CAN verry simply be fixed thru php.ini if your on linux

add this to your php.ini file

php_value memory_limit 24M  <change the 24 to whaever you want :) <i always just put 16 couse thats the recommended

oh and by the way ive done several installs where i just outright ignored this and they all seem to work just fine

so its not too big of a deal

Re: PHP Memory Limit & Godaddy shared hosting

Posted: Fri Jan 11, 2008 12:35 am
by Nullig
And if you don't have access to the php.ini file, you can always add:

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

near the top of your config.php file.

Nullig

Re: PHP Memory Limit & Godaddy shared hosting

Posted: Fri Jan 11, 2008 12:44 am
by chotaboy
thats works too

also if you have deleted your php.ini file which comes default in the root of your godaddy hosting.. (most people do )

you can log-in to your godaddy account and head to the hosting control panel

somewhere in there is a reset default stuff something.. i forget exactly what it says

but you can always re add those files by clicking the llittle check box anyhow..

oh and next time you think about calling godaddy support
just drive a nail in to your forehead instead :) its less painful
and accomplishes much much more.

Re: PHP Memory Limit & Godaddy shared hosting

Posted: Fri Jan 11, 2008 6:51 pm
by Pierre M.
http://nodaddy.com/ will be 1 year old soon.

Pierre M.

Re: PHP Memory Limit & Godaddy shared hosting

Posted: Sun Jan 13, 2008 6:38 am
by chotaboy
hehe love that site