Home >Backend Development >PHP Tutorial > 页面上有语法异常不报错,而是直接页面无法加载【有图】

页面上有语法异常不报错,而是直接页面无法加载【有图】

WBOY
WBOYOriginal
2016-06-13 12:47:15956browse

页面上有语法错误不报错,而是直接页面无法加载【有图】

比如我的代码就是把$array=array()写成了$array=()
修改为正确的就能正常打开页面。
我在最前面加上了error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);报错提示也一样。
请问应该如何配置呢?环境是LNMP虚拟机环境。

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