Change Maximum upload file size in WordPress

I was on a research mode to increase the upload size of image in WordPress but all codes I see on Google doesn’t work to me.

Thanks to my friend Raquel to the rescue 🙂 this code helps me to increase the filesize when uploading in the server.

She told me to put this code above the htaccess before the wordpress rewrite code and viola it works. She saves my time.