简体   繁体   English

警告:POST Content-Length的25447804字节超出了第0行上Unknown中的8388608字节的限制

[英]Warning: POST Content-Length of 25447804 bytes exceeds the limit of 8388608 bytes in Unknown on line 0

I am getting this warning when im uploading file more than 8mb. 我上传文件超过8mb时收到此警告。

I have changed following to php.ini file 我已将以下内容更改为php.ini文件

upload_max_filesize = 10M
post_max_size = 10M
memory_limit = 128M

and i have restarted the apache server too. 而且我也重新启动了Apache服务器。

and i am checking through ths script 我正在通过脚本检查

if($_FILES["submission_file"]["size"] < 1.049e+7)
{
  echo "success";
}

What i am doing wrong? 我做错了什么?

You can also change it via an .htaccess file. 您也可以通过.htaccess文件进行更改。

php_value upload_max_filesize 10M php_value upload_max_filesize 10M

php_value post_max_size 10M php_value post_max_size 10M

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 警告:90612004 字节的 POST Content-Length 超出了第 0 行未知中 8388608 字节的限制 - Warning: POST Content-Length of 90612004 bytes exceeds the limit of 8388608 bytes in Unknown on line 0 如何避免:警告:POST内容长度47820076字节超过了第0行的Unknown中的8388608字节限制 - How to avoid: Warning: POST Content-Length of 47820076 bytes exceeds the limit of 8388608 bytes in Unknown on line 0 PHP 警告:8978294 字节的 POST 内容长度超出第 0 行未知中 8388608 字节的限制 - PHP Warning: POST Content-Length of 8978294 bytes exceeds the limit of 8388608 bytes in Unknown on line 0 PHP 警告:8412174 字节的 POST Content-Length 超出了 Unknow 中 8388608 字节的限制 - PHP Warning: POST Content-Length of 8412174 bytes exceeds the limit of 8388608 bytes in Unknow 警告:11394639字节的POST内容长度超过了8388608字节的限制 - Warning: POST Content-Length of 11394639 bytes exceeds the limit of 8388608 bytes PHP 警告:未知:68 字节的 POST 内容长度超过第 0 行未知中 10 字节的限制, - PHP Warning: Unknown: POST Content-Length of 68 bytes exceeds the limit of 10 bytes in Unknown on line 0, PHP警告:53160843字节的POST内容长度超过了行0上“未知”中的33554432字节的限制 - PHP Warning: POST Content-Length of 53160843 bytes exceeds the limit of 33554432 bytes in Unknown on line 0 PHP警告:POST内容 - n个字节的长度超过了第0行的Unknown中的3145728个字节的限制 - PHP Warning: POST Content-Length of n bytes exceeds the limit of 3145728 bytes in Unknown on line 0 无法解决:PHP警告:POST Content-Length的13110857字节超出了第0行上Unknown中的10485760字节的限制 - Cannot solve: PHP Warning: POST Content-Length of 13110857 bytes exceeds the limit of 10485760 bytes in Unknown on line 0 PHP 警告:113 字节的 POST 内容长度超出未知中 -1988100096 字节的限制 - PHP Warning: POST Content-Length of 113 bytes exceeds the limit of -1988100096 bytes in Unknown
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM