413 – request entity too large in lighthttpd

lighttpdphp.ini

When saving configuration settings in Magento I get "413 – request entity too large". We are running lighttpd.

In php.ini memory_limit = -1

In lighttpd.conf server.max-request-size = 1000000

I have restarted lighttpd and the problem is still there.

Best Answer

What is post_max_size in php.ini? This controls how much data php will accept. I suspect it is set too low for your situation.

The default is 8M. Try post_max_size = 25M and see if that solves it.