相关疑难解决方法(0)

PHP警告:POST内容长度为113字节超过了未知的-1988100096字节限制

用户在我的网站上传图像时遇到了很多问题.

他们最多可以上传6张图片

最初我不得不将php.ini中的值更改为:

upload_max_filesize = 2000M
post_max_size = 2000M
max_execution_time = 120
max_file_uploads = 7
memory_limit=128M
Run Code Online (Sandbox Code Playgroud)

我不得不改变这个,因为得到了各种各样的错误,如内存不足,超出最大值等.

在我查看包含以下内容的错误日志之前,一切正常

[11-Jun-2011 04:33:06] PHP Warning:  Unknown: POST Content-Length of 113 bytes exceeds the limit of -1988100096 bytes in Unknown on line 0
[11-Jun-2011 04:33:12] PHP Warning:  Unknown: POST Content-Length of 75 bytes exceeds the limit of -1988100096 bytes in Unknown on line 0
[11-Jun-2011 04:33:27] PHP Warning:  Unknown: POST Content-Length of 74 bytes exceeds the limit of -1988100096 bytes in Unknown on line …

php memory file-upload

10
推荐指数
2
解决办法
5万
查看次数

标签 统计

file-upload ×1

memory ×1

php ×1