
Heroku runs your PHP app in a dyno, a smart container which provides a modern stack with your choice of web server(Apache or Nginx) and runtime(PHP or HHVM). Once you have that installed, go ahead and clone this simple starwars PHP application. If you don't have an account, go ahead and create one on. Let's quickly take a look at how to deploy and maintain a PHP application on heroku. Heroku is a cloud platform that helps you deploy and host your applications the modern way. Next, let's cover how to deploy php applications to several cloud server platforms. PHP: The server-side language for building the application.A popular alternative software is PostgreSQL. Apache: The web server that runs the PHP code.Linux: The operating system that runs the other software packages.If you write a lot of tutorials and do POCs (Proof-of-concepts) like me, it's also a great choice for you!Ī generic PHP application involves the common LAMP (Linux, Apache, Mysql and PHP) stack. It's a great option for small, mid-sized, and enterprise scale businesses. In fact, many companies have moved their infrastructure to the cloud in order to reduce cost and complexity. You have the freedom to modify the server software to your needs.There are various benefits to hosting and deploying your applications on the cloud. Introduction to Cloud ServerĬloud servers are basically virtual servers that run within a cloud computing environment. In this tutorial, I'll show you how to deploy your PHP apps to different cloud server platforms such as Google Cloud, Microsoft Azure, Heroku, IBM Bluemix, and others. TL DR: There is a popular mantra amongst developers that goes like this write, test and deploy.
