2
votes

I got this error

Warning: POST Content-Length of 90612004 bytes exceeds the limit of 8388608 bytes in Unknown on line 0

I've done some searches and I changed post_max_size and upload_max_filesize to 150M and reset Wamp but STILL I get this error what should I do?

1
have you restarted your wamp sever - AbuHuraira Lakdawala
where do you get that error? in the WAMP-Logs? - UeliDeSchwert
@AbuHurairaLakdawala yes I did - Mohammad Reza
@ManuToMatic in the browser its a form that uploads a file that is 90Mb and I get this error - Mohammad Reza

1 Answers

2
votes

There are 2 way to fix.

First - change php.ini file information. enter image description here

set configurations as following.

   post_max_size=100M
   upload_max_filesize=100M

Second - use .htaccess file.

   php_value upload_max_filesize 100M
   php_value post_max_size 100M