在linux佈置thinkphp時,頁面出錯無法加載

php.ini中的display_errors的值改爲On;

或者

php代碼頂部添加

ini_set("display_errors", "On");

error_reporting(E_ALL);

這樣就可以看到php頁面打開報錯的原因

自己linux布thinkphp多次遇到在此記載一下


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章