Tag

PHP-FPM

1 views collected around this technical thread.

Top Architect
Top Architect
Nov 10, 2024 · Backend Development

Comprehensive Guide to Nginx Architecture, Process Model, FastCGI Integration, and Performance Optimization

This article provides an extensive overview of Nginx, covering its high‑performance features, module types, master‑worker process model, asynchronous event handling, FastCGI and PHP‑FPM integration, detailed configuration examples, tuning techniques such as epoll, TCMalloc, kernel parameters, and common error troubleshooting, while also highlighting a critical security vulnerability.

FastCGINginxOptimization
0 likes · 47 min read
Comprehensive Guide to Nginx Architecture, Process Model, FastCGI Integration, and Performance Optimization
Top Architect
Top Architect
Oct 28, 2024 · Backend Development

Understanding Nginx Architecture, Process Model, and Performance Optimization with FastCGI and PHP‑FPM

This article provides a comprehensive overview of Nginx’s high‑performance architecture, including its modular design, master‑worker process model, asynchronous non‑blocking I/O, supported event mechanisms, FastCGI integration, PHP‑FPM configuration, and practical tuning tips for achieving optimal server performance and security.

FastCGINginxPHP-FPM
0 likes · 47 min read
Understanding Nginx Architecture, Process Model, and Performance Optimization with FastCGI and PHP‑FPM
Top Architect
Top Architect
Sep 23, 2024 · Backend Development

Understanding Nginx Architecture, Process Model, FastCGI Integration, and Performance Optimization

This article provides a comprehensive overview of Nginx's high‑performance architecture, including its core, basic, and third‑party modules, master‑worker process model, asynchronous non‑blocking I/O mechanisms, FastCGI and PHP‑FPM integration, and practical configuration and tuning tips for optimal server operation.

FastCGINginxOptimization
0 likes · 46 min read
Understanding Nginx Architecture, Process Model, FastCGI Integration, and Performance Optimization
Top Architect
Top Architect
Aug 15, 2024 · Backend Development

Understanding Nginx Architecture, Process Model, FastCGI Integration, and Performance Optimization

This article provides a comprehensive overview of Nginx's high‑performance architecture, including its core, basic and third‑party modules, master‑worker process model, asynchronous event handling with epoll, FastCGI and PHP‑FPM integration, as well as detailed configuration and optimization techniques for production deployments.

FastCGINginxOptimization
0 likes · 47 min read
Understanding Nginx Architecture, Process Model, FastCGI Integration, and Performance Optimization
Top Architect
Top Architect
Aug 12, 2024 · Backend Development

Understanding Nginx Architecture, Modules, Process Model, and Performance Optimization

This article provides a comprehensive overview of Nginx, covering its high‑performance architecture, module types and functions, master‑worker process model, asynchronous non‑blocking I/O mechanisms, FastCGI and PHP‑FPM integration, as well as detailed configuration and optimization techniques for production deployments.

FastCGILinuxNginx
0 likes · 48 min read
Understanding Nginx Architecture, Modules, Process Model, and Performance Optimization
Wukong Talks Architecture
Wukong Talks Architecture
Jul 28, 2024 · Operations

Understanding Nginx Architecture, Process Model, and Performance Optimization

This article provides a comprehensive overview of Nginx’s high‑performance features, module architecture, process and I/O models, FastCGI integration with PHP‑FPM, configuration best practices, tuning techniques, and common error troubleshooting, offering practical guidance for optimizing and securing Nginx deployments.

FastCGILinuxNginx
0 likes · 46 min read
Understanding Nginx Architecture, Process Model, and Performance Optimization
Practical DevOps Architecture
Practical DevOps Architecture
Jan 18, 2024 · Operations

Migrating Zabbix Web Frontend from Apache to Nginx

This guide explains why and how to replace the single‑threaded Apache httpd service with Nginx for Zabbix, covering installation of Nginx and PHP‑FPM, configuration adjustments, service restarts, and timezone fixes to ensure the Zabbix web interface works correctly.

ApacheNginxPHP-FPM
0 likes · 5 min read
Migrating Zabbix Web Frontend from Apache to Nginx
Beijing SF i-TECH City Technology Team
Beijing SF i-TECH City Technology Team
Aug 17, 2023 · Backend Development

Understanding and Troubleshooting PIE Service Interface Timeout in PHP/FPM

This article explains the three main configuration parameters—fastcgi_read_timeout, max_execution_time, and request_terminate_timeout—that affect PIE service interface timeout, demonstrates how each influences HTTP response codes and PHP execution, and provides step‑by‑step debugging and fixes for Nginx, PHP, and PHP‑FPM settings.

NginxPHPPHP-FPM
0 likes · 9 min read
Understanding and Troubleshooting PIE Service Interface Timeout in PHP/FPM
php中文网 Courses
php中文网 Courses
Jul 11, 2023 · Backend Development

Optimizing and Configuring PHP-FPM for Better Server Performance

This article explains how to fine‑tune PHP‑FPM by adjusting key settings in php‑fpm.conf and pool.d/www.conf, covering user/group, listen address, process management, child limits, timeout values, and provides a fully commented example configuration to improve backend performance and stability.

NginxPHP-FPMconfiguration
0 likes · 6 min read
Optimizing and Configuring PHP-FPM for Better Server Performance
php中文网 Courses
php中文网 Courses
Jul 9, 2023 · Backend Development

How to Daemonize PHP-FPM Using systemd and Supervisor

This article explains common reasons why PHP-FPM processes may terminate unexpectedly and provides step‑by‑step instructions for configuring systemd and Supervisor to supervise PHP‑FPM, ensuring continuous and reliable operation on Linux servers.

LinuxPHP-FPMProcess Management
0 likes · 4 min read
How to Daemonize PHP-FPM Using systemd and Supervisor
Laravel Tech Community
Laravel Tech Community
Mar 21, 2023 · Backend Development

Resolving 502 Bad Gateway Errors in Nginx + PHP‑FPM + MySQL Environments

This guide explains common causes of 502 Bad Gateway in Nginx‑PHP‑MySQL stacks—such as memory limits, PHP‑FPM process settings, buffer sizes, timeouts, and system limits—and provides detailed configuration adjustments and command‑line checks to eliminate the errors.

502 errorLinuxNginx
0 likes · 6 min read
Resolving 502 Bad Gateway Errors in Nginx + PHP‑FPM + MySQL Environments
php中文网 Courses
php中文网 Courses
Oct 9, 2022 · Backend Development

Understanding CGI, FastCGI, and php-fpm in PHP Backend Development

This article explains the CGI protocol, how PHP implements it, the advantages of FastCGI as a persistent process manager, and how php-fpm extends FastCGI to provide smoother configuration changes and improved performance for PHP web applications.

CGIFastCGIPHP
0 likes · 3 min read
Understanding CGI, FastCGI, and php-fpm in PHP Backend Development
php中文网 Courses
php中文网 Courses
Jun 14, 2022 · Operations

Permission Configuration for Nginx, PHP‑FPM, and MySQL on Linux Servers

This article explains how to properly set file and process permissions for Nginx, PHP‑FPM, and MySQL on Linux servers, recommending the use of a dedicated www user group, showing configuration snippets, and illustrating how to verify running processes to enhance security and avoid permission‑related errors.

MySQLNginxPHP-FPM
0 likes · 5 min read
Permission Configuration for Nginx, PHP‑FPM, and MySQL on Linux Servers
php中文网 Courses
php中文网 Courses
Jan 5, 2022 · Backend Development

Understanding PHP OPCache: Architecture, Mechanisms, and Configuration

This article explains how PHP‑FPM and Nginx handle requests, details the PHP script execution process, introduces OPCache and its shared‑memory design, describes its caching of opcodes and interned strings, and provides practical configuration and update‑strategy recommendations for high‑traffic PHP applications.

NginxOpCachePHP
0 likes · 12 min read
Understanding PHP OPCache: Architecture, Mechanisms, and Configuration
Laravel Tech Community
Laravel Tech Community
Jun 17, 2021 · Backend Development

Setting Up a PHP Development Environment with Docker: MySQL, Nginx, and PHP‑FPM

This tutorial walks through installing Docker on macOS, configuring a fast Chinese mirror, and using Docker commands to pull, run, and link MySQL, Nginx, and PHP‑FPM containers, including volume mounting, configuration file adjustments, and installing common PHP extensions.

DockerMySQLNginx
0 likes · 10 min read
Setting Up a PHP Development Environment with Docker: MySQL, Nginx, and PHP‑FPM
Efficient Ops
Efficient Ops
Apr 14, 2021 · Operations

How Nginx’s max_fails and fail_timeout Really Work: A Hands‑On Demo

This article explains the meaning of Nginx upstream directives max_fails and fail_timeout, demonstrates their behavior with a PHP‑FPM test setup, and clarifies common misconceptions and best‑practice settings for reliable load balancing.

Load BalancingNginxPHP-FPM
0 likes · 6 min read
How Nginx’s max_fails and fail_timeout Really Work: A Hands‑On Demo
php中文网 Courses
php中文网 Courses
Feb 5, 2021 · Backend Development

LNMP Server Architecture Troubleshooting and Optimization: Nginx and PHP‑FPM Tuning

This article walks through a real‑world LNMP case where slow backend responses and 502 errors were diagnosed and resolved by analyzing Nginx logs, increasing file descriptor limits, adjusting FastCGI timeouts, and fine‑tuning PHP‑FPM settings, followed by performance testing with ApacheBench.

LNMPLinuxNginx
0 likes · 9 min read
LNMP Server Architecture Troubleshooting and Optimization: Nginx and PHP‑FPM Tuning
php中文网 Courses
php中文网 Courses
Jan 19, 2021 · Backend Development

PHP Controller Execution Flow, fastcgi_finish_request Usage, and Trait Feature Explanation

This article explains the PHP framework's controller execution process, demonstrates how to use fastcgi_finish_request for asynchronous-like responses, and provides a detailed guide on PHP traits, including conflict resolution techniques, all illustrated with practical code examples.

FastCGIPHPPHP-FPM
0 likes · 10 min read
PHP Controller Execution Flow, fastcgi_finish_request Usage, and Trait Feature Explanation
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Apr 17, 2020 · Backend Development

Using Swoole Coroutine FastCGI Client to Call PHP‑FPM and Proxy WordPress

This article introduces the FastCGI protocol, explains Swoole's task processes, demonstrates how to use the coroutine FastCGI client to invoke PHP‑FPM scripts and concurrently handle blocking calls, and shows a one‑click WordPress proxy implementation with performance benchmarks.

CoroutineFastCGIPHP-FPM
0 likes · 10 min read
Using Swoole Coroutine FastCGI Client to Call PHP‑FPM and Proxy WordPress
Beike Product & Technology
Beike Product & Technology
Jul 26, 2019 · Fundamentals

FastCGI Protocol Specification: A Comprehensive Guide

This article provides a detailed translation and explanation of the FastCGI protocol specification, covering its architecture, record types, roles, and implementation details for developers working with PHP-FPM and web servers like nginx.

CGIFastCGINetwork Communication
0 likes · 32 min read
FastCGI Protocol Specification: A Comprehensive Guide