Home >Backend Development >PHP Tutorial >apache ErrorLog配置的错误日志和PHP的错误日志有区别吗?

apache ErrorLog配置的错误日志和PHP的错误日志有区别吗?

WBOY
WBOYOriginal
2016-06-06 20:31:24964browse

apache ErrorLog配置的错误日志和PHP的错误日志有区别吗?

回复内容:

apache ErrorLog配置的错误日志和PHP的错误日志有区别吗?

一个是记录Apache服务器的错误,一个是记录PHP的错误。
PHP的错误日志会记录一些PHP语法、解析等导致PHP无法正常运行的错误,而Apache的错误日志是记录一些服务器的错误信息,比方某个PHP表达式忘记写分号,这个解析错误是记录PHP的错误日志里的,Apache的日志记录不到这些。

Statement:
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