问题描述
ajax中post数据时,php服务器返回以下错误:
POST Content-Length of 6084956 bytes exceeds the limit of 1048576 bytes in …
原因
php.ini中post_max_size=8M, 因为上传了文件,所以超过了此大小
解决方案
将php.ini中post_max_size值改大即可
PHP笔记:POST大小溢出,POST Content-Length exceeds the limit of
阅读 126
2022-12-07
ajax中post数据时,php服务器返回以下错误:
POST Content-Length of 6084956 bytes exceeds the limit of 1048576 bytes in …
php.ini中post_max_size=8M, 因为上传了文件,所以超过了此大小
将php.ini中post_max_size值改大即可
相关推荐
精彩评论(0)