@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.