您的位置:首页 > 编程语言 > PHP开发

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

2015-07-03 19:26 1446 查看
今天使用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 中查找 找到这个地方 将;去掉
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: