set_time_limit(3600); //设置为3600秒超时.
error_reporting(E_ALL); //显示所有错误;
error_reporting(E_ALL ^ E_NOTICE); //显示非NOTICE的信息
具体的你可以查一下手册