打开PHP错误提示

error_reporting(E_ALL);
ini_set('display_errors', '1');

原文地址:https://www.cnblogs.com/xie-xiao-chao/p/8351919.html