I have this action in controler
public function upload() {
// getting all of the post data
$file = array(\'image\' => Input::file(\'image\'));
/
Well I found the answer, The things mentioned above to make change in php.ini about upload_max_filesize
and post_max_size
are infact the only thing to solve the problem mentioned by the question.
The only problem was that I am using wamp and apparently wamp has multiple php.ini files one in php folder and one in apache folder. I made changes in PHP folder when the change should be made to the one inside apache folder.