Home > Backend Development > PHP Tutorial > php_ini中log_errors_max_len属性的设置解决办法

php_ini中log_errors_max_len属性的设置解决办法

WBOY
Release: 2016-06-13 10:15:11
Original
1178 people have browsed it

php_ini中log_errors_max_len属性的设置
我的设置是:
log_errors_max_len = 5

其它错误日志的设置都没问题,错误也能写到相应的文件中。
但是这个文件并没有被限制到5Bytes,这是怎么回事呢?要怎么限制这个文件大小呢?

谢谢!

------解决方案--------------------
http://stackoverflow.com/questions/1966540/log-errors-max-len-1024-in-php-ini-but-php-log-keeps-growing

这里说 这个其实是指日志消息的长度而不是说日志文件的大小
------解决方案--------------------
http://www.studyday.net/2011/03/187

不是errorlog的,而是语法错误的提示?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template