如果不具备修改php.ini的权限,可以将如下代码加入php文件中:
代码如下
ini_set("display_errors", "On");
error_reporting(E_ALL | E_STRICT);