I am new in Azure. I want to develop a web application on Azure. i am a bit confused about one issue. Should i develop the application locally and then deploy it to Azure ? or should I develop the app directly on Azure ? Could anyone please guide me on this issue ?
As #David Makogon said, you can either develop applications on local then deploy it to Azure, or you can directly develop your applications on Azure. They are all workable on Azure, that depends on you.
Generally, you need to create services on Azure, i.e. Web Apps to host PHP applications and ClearDB (MySQL services on Azure) to store your MySQL data. To create the PHP + MySQL sites services on Azure, you can see steps on How to create server on azure and host php,mysql site on that on stack overflow.
If you have an application on local, you can deploy to Azure via GIT or FTP. You can refer to Create a PHP-MySQL web app in Azure App Service and deploy using Git and Create a PHP-MySQL web app in Azure App Service and deploy using FTP on official site for deploying your local application on Azure Web Apps.
Also you can leverage WebMatrix directly remoting to applications on Web Apps and develop your applications.
Related
I'm trying to deploy PHP based web application on Microsoft Azure by using Gitlab CI/CD.
Previously I used to deploy my web application on Heroku without touching anything on Heroku just by using Gitlab CI/CD, I wanted to do the same thing with Microsoft Azure.
Thank You.
Can I use the Azure web app service for PHP and NodeJs both in the same application?
Following are my PHP Web app requirements. So can I used the Azure Web app service or need to deploy it on LAMP stack VMs only?
You can use Virtual Applications to achieve the functions you want.
Prompt:
You web app should use windows platform.
The main application cannot be a nodejs application.
Ensure that each application can be deployed successfully (to ensure that the application can run normally), learn to use the web.config configuration file.
I was able to setup WebSocket on Azure.WebSockets enabled on Azure
But my issue is : how to start the PHP ws server?
I have used this sample implementation https://github.com/ghedipunk/PHP-Websockets successfuy on my computer but I am not able to start the server in MS Azure.
All Azure Web Apps run in a secure environment called a sandbox. In the sandbox, each app is processed by Microsoft IIS. An app runs through PHP's Command Line Interface (CLI) is not allowed. For more details, please refer to Azure Web App sandbox.
In order to be able to run PHP-WebSockets in Azure, you need to host in something like a Virtual Machines, Cloud Services, or Containers, rather than Web Apps.
I have my application developed with Laravel 5.1 & MySQL. I don't know how to move it to Microsoft Azure.
Can anyone tell me how to deploy to Azure?
I am trying to figure out the costing too, but azure pricing calculator doesn't show MySQL & PHP in the list. Can anyone help with this too??
Thanks!!!
Generally speaking, you can leverage Azure Web Apps of Azure App Services to host your PHP applications. And the MySQL database service is provided by ClearDB on Azure. For dev or testing, they all provide free pricing tier.
Refer to https://azure.microsoft.com/en-in/marketplace/partners/cleardb/databases/ for pricing plans of ClearDB on Azure.
Refer to https://azure.microsoft.com/en-in/pricing/details/app-service/ for App Service Pricing.
And you can refer to https://azure.microsoft.com/en-us/documentation/articles/app-service-web-php-get-started/#create-a-php-laravel-app-on-your-dev-machine for steps of how to build and deploy a laravel application to Azure Web Apps.
Any further concern, please feel free to let me know.
I have an Android mobile chat app using websockets and server running on XAMPP in PHP. At present, it is simply running on my local machine during the initial development process.
I was thinking of rewriting using PubNub for a production level application, but a review of Google App Engine provided it could be a simpler alternative. Is it possible to migrate my XAMPP configuration with PHP server and MySQL database onto the Google cloud platform? What drawbacks are there in this transition?
For this I will suggest you to create your application locally using Google AppEngine SDK [1] with your configuration on XAMPP and see if it is working or not. The Google AppEngine SDK is the simulator for GAE Cloud, so if it is working fine with SDK then there is high probability it will work in the production environment.
[1] https://cloud.google.com/appengine/downloads