When running your WordPress on WAMP you might stumble upon on a PHP Warning: POST Content-Length of [some number] of bytes exceeds the limit of [some number] bytes in Unknown on line 0 when uploading media, installing plugins or themes to your locally installed WordPress.
Of course it might seem like something terrible has happened at first sight and you might be afraid you have broken your WordPress. Luckily this is not the case.
How to solve the Warning that says post content lenght exceeds the limit in WAMP for WordPress?
- Find the Wampserver icon on your notification tray area in your Windows desktop
- Click on it with your mouse cursor and navigate in the menu as follows.
PHP -> PHP settings -> post_max_size -> select some bigger value than you currently have set, i.e. put it to 256M to set the limit to 256MB.
- You will see some CMD windows flashing on the screen. That is Apache restarting. After the Wampserver icon turns green again you can try uploading your zip again.
Hoping this worked for you. If it helped you, please share this article and post a link to this in places in internet to help other people find it. Thanks!