idea, would you provide us with a link with output of phpinfo() on your domain? System takes this configs (Server limit) directly from php directives.
Regarding your first screenshot - this is a simple protections from too high values. It's really hard to image photo album with 4000 photos :)