How to increase the maximum upload size? I'd like to increase the maximum upload size from 2MB to 5MB on my website (I'm using WAMP). My first attempt to do this was to set Content types &gt; MY CONTENT TYPE &gt; Manage fields &gt; MY IMAGE FIELD &gt; Maximum upload size to 5 MB, but that didn't work. Next, (after reading this question and this article) I added

ini_set('post_max_size', '5M');
ini_set('upload_max_filesize', '5M');


to my sites/default/settings.php file, but that didn't solve the problem either.

What am I doing wrong? Why didn't my first approach work?
You need to make some changes in your php.ini file for Post max size and upload max size

Just follow this link for reference , Click here