Getting an error upon loading certain pages
peacho - August 7, 2007 - 15:44
On my Drupal 5.1 test install, when I click Administer on the main menu, I get the following error:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 77824 bytes) in /opt/lampp/htdocs/drupal-5.1/modules/system/system.install on line 1887.
It would appear that that is the only page I get the error on, as I've tested other pages there (like blog post, the create new content page, etc.) and if I manually type in a page in the Administer section, it works.
This only began occurring after I installed the Project Issues module. Kind of ironic isn't it?

PHP memory limit
Hi!
Find your php.ini file and edit it to increase the memory_limit value to 32 megs or another value of your choice (8 megs is not enough for Drupal).
I seem to remember that you'll need to restart Apache for the change to kick in...
Pete.
Where is that?
Thanks, it seemed that it was logical.
However, where is that file? Is that part of Drupal? Search doesn't seem to work correctly in Ubuntu, at least where I'm using it, and I have more important things to work on than root around for it.
php.ini
Hi.
I don't have an Ubuntu system to hand, but try
/etc/php5/apache2/php.inior some variant thereof depending on your version of PHP.As for searching in Ubuntu, from the command line
locate php.inishould work; orfind / -name php.iniif the locate database is out of date, or you can search for it from the GUI.Pete.
It worked!
Thanks. That was basically it. I tried the command line, as the GUI search is what had failed before. Caught the two locations of it right away. I wasn't sure which I needed to update, so I just did both. :)
Worked like a charm (and it's faster now, logically).