為啥我連數(shù)據(jù)庫報(bào)500錯(cuò)誤
class?StudentController?extends?Controller{ ????public?function?text1(){ ???????//?$bool=DB::table('student')->insert(['name'=>'imooc','age'=>18]); ????????var_dump(1); ????} }
class?StudentController?extends?Controller{ ????public?function?text1(){ ???????//?$bool=DB::table('student')->insert(['name'=>'imooc','age'=>18]); ????????var_dump(1); ????} }
2019-10-07
舉報(bào)
2019-10-29
500一般都是服務(wù)器內(nèi)部錯(cuò)誤,檢查一下服務(wù)器配置