问题原文
原帖链接 · DevonRyder · CC BY-SA 3.0
I have an Azure Imagine subscription through my College so I plan to take advantage of it to host a basic Bootstrap resume site of sorts. I was originally considering using Github Pages, but I'd like to use PHP to validate a contact form, which rules out using Github Pages which can only serve static content.
Anyway, I'm not sure which Azure item to use. Should I simply be creating an Empty PHP App?
已采纳解答
原帖链接 · David Makogon · CC BY-SA 3.0
What you choose is really up to you, but if you're avoiding Virtual Machines, Azure provides Web Apps (part of the App Service PaaS offering). I have no idea what your subscription supports, but Web Apps allow you to push your code up without concern for underlying OS (thought it supports both Windows and Linux, in case your app has OS-specific dependencies). Simple to scale up to higher/more capable tiers, and out to multiple instances (the features, and scaling, have differences for the various performance tiers). Note that the Linux variant is in preview, though both variants support PHP. You'll be able to push your code through an SCM provider (e.g. github) or via ftp.
Outside of Web Apps, you'd have:
- Cloud Services (web/worker stateless Windows Server VMs)
- Virtual Machines (Windows/Linux with many supported variants / distros)
- Service Fabric (a managed microservice offering)
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
