It seems to be that there’s a whole lot of people that are getting this error message when they are trying to install or move their WordPress site. Even though this problem is common and there’s a very simple solution, people seem to always have more trouble with it then it’s worth.
I’ve been one of the latest to run into a well-known problem with WordPress – the server-enforced limit of menu items.
There’s been a few times where I’ve needed to display the maximum size of a file that can be uploaded, but there never seemed to be an easy way to do it. Well, there’s still not, but at least this will give you the right value.