By poloparis on
I've always been able to solve this one up to now
http://drupal.org/node/76156
http://drupalfr.org/forum/support/support-general/6724-drupal-et-ovh-fat...
I get : "Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 19456 bytes) in /var/www/canalv/includes/bootstrap.inc on line 1266"
I am on an ubuntu server. I have made the following changes :
-settings.php : ini_set('memory_limit', '96M');
-.htaccess : php_value memory_limit 64MB (in block " ifModule mod_php5.c " )
-/etc/php5/apache2/php.ini : memory_limit = 32M; (& restarted apache)
I now have no more access to my install. I got the error while enabling a few modules : views, tokens, skinr, fusion
Any suggestion ?
Comments
Fixed the problem (at least I think I did!)...
Hosting with Bluehost.com
Updated php.ini file to 128 MB
Updated settings.php file to 128 MB
NOTE: when updating the settings.php file, be sure to check if the changes are saved via the CPanel File Manager. The permissions on that file did not allow changes, so I had to change the permissions to change the memory_limit settings.
Finally, in Bluehost.com PHP settings - set it to the middle option (PHP5 Single File).
The issue for me was that changing the settings.php file to allow more memory was not being saved when I uploaded the file. I could see that it wasn't being saved by running cron. So I finally decided to change the file directly via CPanel File Manager.
I hope this helps anyone who is having this same issue!!!
Tom Hale
New Day Web Design
www.newdaywebdesign.com