1. 程式人生 > >PHP 中 Failed to load resource: the server responded with a status of 500 (Internal Server Error)

PHP 中 Failed to load resource: the server responded with a status of 500 (Internal Server Error)

今天使用thinkphp 中做區域性重新整理時總是出現問題,按F12 用瀏覽器檢視原始碼 報出的錯誤是 

 Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
; to disable this feature and it will be removed in a future version.
 我的ajax語法 是 
沒什麼錯誤吧,ajax語法就是這樣玩的。根據錯誤提示 ,查詢原因,說的是 
$HTTP_RAW_POST_DATA= -1  出現問題,於是查詢php.ini 中查詢 找到這個地方 將;去掉