Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 11520 bytes) in /homepages/11/d295962301/htdocs/ptest/modules/search/search.pages.inc on line 35

I need help fixing this error in drupal

3 answers

This was chosen as the best answer

Drupal.org has the answer Though from what it looks like it might be a search module issue too. You can disable that module and try again.

Answered over 9 years ago by Divya Manian

In your .htaccess file under the php directive for the version of apache your running try adding:

php_value memory_limit 28M

replace 24M with your desired limit

Answered over 9 years ago by RonnLixx

You need more memory for that module; find the php.ini file on your server, seach for this line and increase the memory limit:

memory_limit = 16M ; Maximum amount of memory a script may consume (16MB)

Answered about 9 years ago by Jsalinas