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

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

WBOY
Release: 2016-06-06 20:31:24
Original
970 people have browsed it

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

回复内容:

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

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

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