We talk about the three main moving parts of hosting a web application:
- The web server (e.g. Nginx, Apache)
- The application gateway (e.g. php-fpm, gunicorn)
- The application (your code)
These three pieces are required, but the application gateway isn't often talked about. We'll discuss these parts before moving onto seeing how to install and configure a PHP web application.