Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forums and PHP memory

  • Avatar of BeLogical
    BeLogical
    Participant

    @belogical

    Started a brand new project this morning. Brand new VPS, WPMU 2.8.4a, and BP 1.1.1. I’ve never used forums before, but it is needed for this project. Install went fine, but when I went to the forums link I got the white screen of death because of a PHP fatal error. See message below:

    [Fri Oct 23 07:17:32 2009] [error] [client 123.456.789.101] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 92160 bytes) in /var/www/vhosts/domain.org/httpdocs/wp-admin/includes/template.php on line 1443, referer: http://domain.org/

    I had to change my PHP memory from 32MB to 64MB in order to get it to run.

    Is this typical?

    If so, we might want to add this to the readme file or codex for forums installs.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of Travel-Junkie
    Boris
    Participant

    @travel-junkie

    I guess so. I need that much just to run most of my single WP blogs.

    Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    Issues with under-allocated memory when running PHP are a common occurrence for many PHP-based applications. It is just one of many things you need to know–or find out about–when you are in charge of systems administration.

    I usually set my PHP mem at 96MB.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.