Deploy a laravel app to Azure - php

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.

Related

How to deploy web application by using Gitlab CI/CD on Microsoft Azure

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.

How to keep local server and cloud server sync?

I'm developing cloud-based ERP software and my client wants to have a feature where if the internet is down and the cloud is not accessible then a local server can be used to provide the service and once the internet is back cloud can sync with the updates.
Please advise. how to design such model.
Software language: core PHP

how to host existing mysql+php web application on ibm bluemix

i'm new to web development. I've coded a sample application using MySQL and php in xampp. now the application is perfectly running on localhost.but i need to host that with free of cost.i tried GitHub pages.but i've got to know that GitHub don't support php+MySQL applications.even i want to try microsoft azure but it's saying you'r school email id is not registered.so i thought to try ibm bluemix. but i don't know how to host php,mysql applications on ibm bluemix.present i don't have anything except code on my computer.please,help me in this issue as soon as possible.i have only single day left to complete the task.
thanks a lot in advance.
Basically you can use this as runtime - https://cloud.ibm.com/catalog/starters/php - mind the pricing plan.
You then need to look for PHP Buildpacks (internet search) which include MySQL, and apply it via the CloudFoundry command line (check IBM Cloud documentation or this
https://docs.cloudfoundry.org/buildpacks/php/index.html).
Hope this helps for the next steps.
There is also a MySQL service, however, it doesn't come for free. However, I think the expected cost is low and I think you currently gain some free money to start with when registering for the first time.
https://console.bluemix.net/catalog/services/compose-for-mysql

Developing PHP-MySQL application on Azure

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.

android database with just sqlite

I am new at android.
I have some problems with android database and how to deploy it into a server without develop a web site for the application.
I want to publish this app into google play after a while.
so an online web server is needed.
Locally woking is useless for me.
So my questions are:
1) If and only if with using sqlite database, can i deploy my application into a server to make it accessible ?
2) if sqlite is not sufficient for me , then how can use php & mySQl ? and could you please offer me some a kind of hosting services for android applications?
3) I want to manage sending notifications from the server and provide communications between devices. Is there any service to provide my needs ?
Thank you so much.
No you can't...You need to have separate database(sql server/mysql) for your server. And then write some webservice so that you mobile app can communicate with server database.
SqLite is only for mobile device and no server supports it, APIK.

Categories