Setting Up an LNMP Stack with Nginx, PHP, MySQL, and phpMyAdmin Using Docker Compose

Why Use Docker Compose? While its possible to manually run individual containers for Nginx, PHP, and MySQL, managing them becomes tedious when configuration changes are needed. Without an orchestration tool, updating a setting requires stopping the container, removing it, and running a new docker run command with the updated parameters. Docker ...

Posted on Sat, 06 Jun 2026 16:25:59 +0000 by R0CKY

Building Middleware Docker Images: PHP-FPM with Nginx

Having established a base CentOS 7 image, the next step is to construct middleware images. This example demonstrates building a Docker image that integrates Nginx and PHP-FPM. The project structure is as follows: docker-training/ ├── centos7/ ├── mysql/ ├── php-fpm/ │ ├── Dockerfile │ ├── nginx_default.conf │ ├── nginx_nginx.conf │ ├── ...

Posted on Fri, 29 May 2026 22:51:44 +0000 by esscher

FastCGI Process Manager Architecture and Implementation in PHP7

FastCGI Process Manager (FPM) is a process manager for PHP's FastCGI execution mode. Its core functionality involves managing worker processes that handle FastCGI requests. FastCGI Protocol Fundamentals FastCGI is a application-layer communication protocol between web servers (like Nginx or Apache) and application processors. PHP implements the ...

Posted on Wed, 13 May 2026 18:06:13 +0000 by tomkure