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

This is a simple problem if you are working on a local server. It is very easy to solve. To Solve the Problem, you need to know whether this problem is coming or not. Before trying to solve any problem, Analyze the error .



Let's talk about why these problems are coming
These problems are of post-max-size and upload-max-files, which means that whatever theme is uploading, the size of the file is large, which is not defined in the php.ini file.



To solve the problem, you have change two values.

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

solution -

Step1- First of all you need to open the php.ini file in notepad.


Where we find out the php.ini file.

You can find out the php.ini file from the folder PHP in your local server main folder in c drive where the server is installed.

Step2- Search post-max-size via notepad search(ctr+f)

post-max-size (change 8M to 800M).

Search upload-max-filesize via notepad search(ctr+f)

upload-max-filesize (change 2M to 2000M).



Step3- Now stop the Apache server and MySQL.



Step 4. Now restart Apache server and MYSQL .



Now you can see that it's working properly.

Recommended Posts:-