All of the sudden I've been having problems with my application that I've never had before. I decided to check the Apache's error log, and I found an error message saying "zend_mm_heap corrupted". What does this mean.
OS: Fedora Core 8 Apache: 2.2.9 PHP: 5.2.6
After much trial and error, I found that if I increase the output_buffering
value in the php.ini file, this error goes away
Increase to what? Why would this change make this error go away?
@JDS this answer helps explain what output_buffering is and why increasing it can help stackoverflow.com/a/2832179/704803
@andrewtweber I know what ob is, I was wondering about the specific details that were left out of dsmithers' answer, as I was having the same error message as the op. For closure: it turned out my problem was a misconfigured setting pertaining to memcached. Thanks, though!
@JDS what misconfigured setting?
@KyleCronin our service platform uses Memcache in production. However, some single instances -- non-production/sandbox, customer one-offs -- do not use memcache. In the latter case, I had a configuration copied from production to a customer one-off, and the memcache configuration indicated a memcache server URI that was not available in that environment. I deleted the line and disabled memcache in the app, and the problem went away. So, long story short, a very specific problem encountered in a specific environment, that might not be generally applicable. But, since you asked...