You may need to modify your WordPress site’s php.ini file, which is the default PHP configuration file, to increase the site’s Memory Limit, Maximum Execution Time, Maximum Input Time etc. However, there is no access to the php.ini file in an Azure hosted WordPress Web App!
A simple solution is to add a .user.ini file to the site/wwwroot folder via the Kudu site of your website. Read more about Kudu here
Portal > Web App > Development Tools > Advanced Tools blade > Go > Debug Console > cmd > site > wwwroot > + file > .user.ini
The 3 overview steps to creating (or restoring) an Azure virtual machine (VM) from a stored snapshot of another VMs Operating System (OS) virtual hard disks (vhd).
- Create a Snapshot (already created for this exercise)
- Create Managed disks from Operating System (OS) and Data Disk Snapshots
- Create a VM from the Managed OS Disk and add data disk
This post shows how to create a VM in a new resource group, from disk snapshots. We will be attaching the new managed OS Disk to the VM with PowerShell while the VM is created. The data disk will be attached after the VM is created. Note in the diagram below, that after creating the managed disks, we will also need to add 4 more Azure resources for the new VM to be accessible:
- Network Interface
We regularly take new snapshots of a VMs vhds before testing major development changes, adding Windows updates, testing new application settings etc., to allow us to easily revert to the previous state of the VM if desired. In Azure, snapshots are taken of the virtual disks (vhd), not the VM instance itself. Snapshots are full, read-only copies of the vhds.
An Azure snapshot of a data or operating system (os) vhd can be used: (more…)