My ISP won't provied me more than 8M memory limit!

Is there any way to keep Drupal runing without removing modules?

Thanks

Comments

gordon’s picture

What do you mean, will not allow you more than 8Mb of memory. Have you triied adding the change for the amount of memory to your .htaccess, or you sites settings.php file.
--
Gordon Heydon
Heydon Consulting

--
Gordon Heydon

lennart’s picture

A PHP memory limit of only 8MB will very likely continue to frustrate you. It will limit the number of modules you can use, and also some will not work at all, even when combining them with only a few others.

It can also influence the number of blocks you can display simultaneously. A PHP memory limit of only 8MB was the original reason why I shifted away from b-one.

Best regards,
Lennart

Best regards,
Lennart

fsimo’s picture

I add

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

to index.php and it's working great now.

http://fran.inhubi.com/

puregin’s picture

As Gordon suggested, it's much better to make this change in your .htaccess file.
You will want to add a line

php_value memory_limit 32M

in whichever of "IfModule mod_php4" or "IfModule sapi_apache2" applies to you.

--
puregin

gordon’s picture

I usually do this in my settings.php which is the new method of doing this in 4.6
--
Gordon Heydon
Heydon Consulting

--
Gordon Heydon