Microsoft Azure Open Source Development Support Team Blog

Support for Open Source Technologies on Microsoft Azure App Service

Migrate WordPress content to Azure blob storage

Azure storage provides solution for applications requiring scalable, durable, and highly available storage for their data. In this blog, we cover the steps how to migrate existing WordPress content from file system to Azure blob storage. 1. Create storage blob Create an Azure storage account Create blob storage Create a blob container to store the… Read more

Redirect HTTP to HTTPS for Azure Web App on Linux

1. To verify the request is sent from HTTP or HTTPS for Web App on Linux: Unlike the application running on Web App on Windows, the server variable “HTTPS” is not defined for Web App on Linux. Check for “X-ARR-SSL”, this variable is set if the request is HTTPS. 2. Implement rewrite rule in .htaccess to allow HTTP… Read more

Import a WordPress MySQL Database using WordPress Buddy+

This post discusses how to use the Azure Web App Site Extension, WordPress Buddy+, to import a WordPress MySQL Database (.sql file) into MySQL In-App. If you haven’t already, review and install (link here) the WordPress Buddy+ Site Extension for Azure Web Apps. The steps below require MySQL In-App to be enabled. Import Steps From Kudu CMD… Read more

First steps with Bitnami WordPress in Azure VM

If you choose Bitnami WordPress VM from Azure Market, you need to take the following considerations: 1.- Review the username & password for WordPress Application in the installation step. For example, the username is “user”   The password will be shown in the Boot Diagnostics the first time after creating the VM, you need to… Read more

Azure App Service Java CICD with Maven

Azure App Service provides integration with Github, Bitbucket, etc however, for Java webapps, it does not provide a default way to build and deploy the webapp directly from github. But the good news is, it does provide hooks by which you can modify the Kudu deployment script to achieve the continuous integration and continuous build… Read more

WordPress Migration: Easy as A-B-C, 1-2-3

Fig 1. WordPress Migration Components There are 3 steps to migrating a WordPress website to Azure App Service Web Apps. Copy WordPress files Migrate the MySQL Database Configure WordPress   Step 1. Copy WordPress files Make a backup of the current WordPress website. Tools commonly used for this is FTP Software like FileZilla or WinSCP…. Read more

Capture Java VM Traffic using Fiddler

Customer’s using the Azure SDK for Java may need to capture network traffic for the REST API requests to troubleshoot issues. Below are the steps to configure Fiddler and Eclipse to capture the API requests. Telerik provides documentation for configuring your Java app to send traffic to Fiddler available here, however, additional steps will be… Read more

Send email on App Service using Office 365 (O365)

For PHP – This is a Proof of Concept to send email using the PHP Mailer library and Office 365. From the PHPMailer GitHub site, follow the “Minimal installation” section and download class.phpmailer.php and class.smtp.php. Copy-paste the code from “A Simple Example” section or use the following: <?php require ‘class.phpmailer.php’; require ‘class.smtp.php’; $mail = new… Read more

Increase Import Max File Size for PHPMyAdmin – Azure App Service

  When using PHPMyAdmin via SiteExtension or with MySQL in-app on Azure Web Apps, the maximum upload size when Importing a SQL file is set to 8,192KiB.  This is due to the default upload_max_filesize and post_max_size for PHP on Azure Web Apps.  To increase the value, you’ll need to modify both the local and master… Read more