Tuesday 27 January 2015

Deploy PHP website from Visual Studio 2013 to Microsoft Azure Websites

Uf after 3 hours of struggle i found the solution for php deployment in Azure.

So First we have to download PHP Tools for Visual Studio 2013. I have given the URL from that you can download Or you have another option means you can download from Nuget package manager

https://visualstudiogallery.msdn.microsoft.com/6eb51f05-ef01-4513-ac83-4c5f50c95fb5

OR
Click on tool then click on Extensions and Updates



After that you will get new screen and search for php and install it.










Now you are ready to deploy PHP project in Azure. So now create a php project.

















Like that visual studio allow PHP developers to develop php projects and enhance the experience with Microsoft Azure.

However, when we are working with php projects we don’t have the same wizard for uploading like ASP.net or MVC solution.
This time you will get a screen like this.



















To retrieve the parameters required for Microsoft Azure Websites, You need to go to the website’s DASHBOARD and download the publish profile that contain all the information.



















One More things you must ensure that your website has enabled the correct version of PHP  for that go to CONFIGURE  then General  then  PHP Version











Thats it ... hope it helped you. :)
Location: Bengaluru, Karnataka, India

1 comment:

  1. Is Azure better than other infrastructures out there, like Google compute and AWS? I have used both for PHP MySQL web hosting because the PaaS I am using for managed services supports these infrastuctures. I have had good experience with them.

    ReplyDelete