Lütfen log_errors_max_len
PHP ayarını kontrol edin. Dan php.net:
log_errors_max_len
integer
- değişmektedir: PHP_INI_ALL
Set the
maximum length of log_errors
in bytes.
In error_log
information about the
source is added. The default is 1024
and 0 allows to not apply any maximum
length at all. This length is applied
to logged errors, displayed errors and
also to $php_errormsg
.
To test: (via this Bogus bug) em>
<?php
error_reporting(E_ALL|E_STRICT);
ini_set('display_errors',0);
ini_set('log_errors',1);
ini_set('log_errors_max_len','0'); //change this value
ini_set('html_errors',0);
function deepTrace($a, $b, $c) {
if ($c < 50) {deepTrace($a, $b, $c+1);} else {throw new Exception('Example exception that together with the trace is over 1024 bytes.');}
}
deepTrace('example','function',0);
?>
Eğer log_errors_max_len
0'a bu örnek kodda çalışmıyor değişiyor, ama 1024 daha büyük bir sayıya değişen bazı etkisi vardır, o zaman neredeyse kesinlikle bir zend_extension
bir yere yüklüyorsunuz vb Zend Optimizer, Zend Debugger, Xdebug gibi PHP'nin standart davranışını geçersiz kılma
grep -r zend_extension /etc/php.*
kullanımında herhangi uzantıları bulmaya çalışın; dışarı yorumladı değil eşleşen bir satır bulursa, senin suçlu var.