Can I host my PHP sites on Azure?

seogoals 0 Reputation points
2023-02-09T23:55:10.74+00:00

Can I host my sites on Azure?

There are a few sites that we have developed with PHP infrastructure. I'm thinking of posting these on azure. But I don't know anything about Azure. How should I proceed?

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,173 questions
{count} votes

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 24,951 Reputation points Microsoft Employee Moderator
    2023-02-10T10:07:52.19+00:00

    @seogoals Thank you for reaching out to Microsoft Q&A.

    Based on the shared information we have understood that you have couple of websites which were designed using PHP language and want to host them on Azure.

    Yes, you can deploy those php websites either on Azure Virtual Machines or on Azure Web App service.

    • App Service: It is a fully managed hosting platform for your web apps and supports various tools for publishing and continuous integration deployments. Refer to this documentation to getting started and how to deploy php on azure app service.
    • Azure Virtual Machines, which is an Infrastructure as a Service (IaaS) provider, to deploy your PHP websites to either Windows or Linux VMs. With VMs, you have total control over the configuration of the machine.
    • You can refer to this documentation on how to deploy Apache web server, MySQL, and PHP (the LAMP stack) on an Ubuntu VM in Azure.

    I would suggest you go through this documentation and choose the specific compute service that fits for your requirements.

    Feel free to reach back to me if you have any further questions on this.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.