問題
使用 phpstudy 8.0版本作爲php開發環境,調試發現在瀏覽器中不顯示錯誤信息,只有一個 500錯誤
解決方法
打開phpstudy主界面,選擇 設置
,配置文件
, 打開php.ini
下對應版本文件,將
display_errors = Off
改爲 display_errors = On
display_startup_errors = Off
改爲 display_startup_errors = On
完成後重啓apache或nginx服務器