PHP is a scripting language designed primarily for web development, but it’s also widely used as a general-purpose programming language.
In this guide, we'll use Docker Compose to containerize a Laravel application for development. When you're finished, you'll have a demo Laravel application running on three separate service containers.
Kubernetes is an open source container orchestration system. It allows you to create, update, and scale containers without worrying about downtime. In this tutorial, you will deploy a PHP 7 application on a Kubernetes cluster with Nginx and PHP-FPM running in separate containers.
The LEMP software stack is a group of software that can be used to serve dynamic web pages and web applications written in PHP. The name "LEMP" is an acronym that describes a Linux operating system, with an (E)Nginx web server. The backend data is stored in a MariaDB database and the dynamic processing is handled by PHP. In this guide, you'll install a LEMP stack on a CentOS 8 server using MariaDB as the database management system.