[Apache & PHP] “zend_mm_heap corrupted” error on apache logs

[Apache & PHP] “zend_mm_heap corrupted” error on apache logs

오류 내용

zend_mm_heap corrupted

발생 환경

OS : CentOS-7
WEB : apache-2.4
PHP : php-5.6

참고 :
https://stackoverflow.com/questions/2247977/what-does-zend-mm-heap-corrupted-mean
http://php.net/manual/en/internals2.memory.management.php

설정

FILE : $APACHE_HOME/bin/apachectl

export USE_ZEND_ALLOC=0

절대적인 내용은 아니겠고, 이런 설정을 apachectl 에 한번 추가를 해보자…

PHP 메뉴얼에는

Note: USE_ZEND_ALLOC=0 in the environment will stop the memory manager from functioning, all allocations fall back on the default system allocators which can be useful for debugging leaks, and should only be used for this purpose.

이렇게 설명이 되어 있었다… ㅋㅋㅋㅋ

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now
Logo
Center