修改php.ini中的配置行: display_errors = off //關閉 on開啓php
修改php腳本,增長代碼行: ini_set('display_errors', false); //false 關閉 true 開啓配置