How to change upload limit of WordPress hosted on Azure VM

In this tutorial, you’ll learn how to change upload limit of WordPress hosted on Azure VM (Virtual Machine). Recently, after hosting a WordPress website on Azure Virtual Machine (Linux), I was trying to upload media and files to the WordPress site. But due to default configuration there was a maximum upload limit of 2MB.

As the WordPress was hosted on Azure Virtual Machine, I couldn’t find the FTP access for the site, the one I used to connect to Virtual Machine through FTP didn’t have WordPress folder in it.