In one of my CakePHP site, I got this error.
Request Entity Too Large
I don\'t know what is the problem. I think the data that I am posting through form is t
I think you need to set that in the PHP config file, php.ini. If you have a VPS / root level access, just up the size on that. If you don't (shared hosting), you can modify the php ini parameters at runtime. Note that ini_set() won't work here, because the PHP settings are loaded too late (after the file has been uploaded, the PHP script begins execution).
You'll need to include the following in your htaccess file (on shared hosting):
php_value post_max_size 104857600
It's possible this won't work. Some googling around made it seem as though some shared hosts will lock down this setting, making it not over-rideable in htaccess (just in main server config). If that's the case, you'll need to move hosts.