Tag

FastCGI

1 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
Dec 18, 2024 · Backend Development

Backend Development Course: Processes, Sockets, TCP/IP, Nginx, FASTCGI, Byte Order, and Redis

This course provides an in‑depth exploration of process fundamentals, socket programming with TCP/IP, Nginx and FASTCGI communication, host‑to‑network byte order conversion, and Redis basics, targeting backend engineers, system administrators, and network engineers seeking comprehensive backend development skills.

BackendByte OrderFastCGI
0 likes · 3 min read
Backend Development Course: Processes, Sockets, TCP/IP, Nginx, FASTCGI, Byte Order, and Redis
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.

BackendFastCGINginx
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.

BackendFastCGINginx
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.

BackendFastCGINginx
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
php中文网 Courses
php中文网 Courses
Feb 5, 2024 · Backend Development

Backend Development Fundamentals: Processes, Socket Programming, Nginx FASTCGI, Byte Order, and Redis Basics

This course offers an in‑depth exploration of process concepts, TCP/IP and Socket communication, Nginx‑FASTCGI integration, host‑to‑network byte order conversion, and Redis fundamentals, targeting backend developers, system administrators, and network engineers seeking comprehensive backend skill enhancement.

BackendFastCGINginx
0 likes · 3 min read
Backend Development Fundamentals: Processes, Socket Programming, Nginx FASTCGI, Byte Order, and Redis Basics
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.

BackendCGIFastCGI
0 likes · 3 min read
Understanding CGI, FastCGI, and php-fpm in PHP Backend Development
Python Programming Learning Circle
Python Programming Learning Circle
Mar 10, 2022 · Backend Development

Understanding CGI, FastCGI, PHP‑FPM, WSGI, uWSGI and ASGI in Python Web Development

This article explains the origins, principles, and interactions of CGI, FastCGI, PHP‑FPM, WSGI, uWSGI, and ASGI, detailing how they enable dynamic Python web applications to communicate with web servers such as Nginx and Apache while addressing performance and concurrency concerns.

ASGICGIFastCGI
0 likes · 17 min read
Understanding CGI, FastCGI, PHP‑FPM, WSGI, uWSGI and ASGI in Python Web Development
Laravel Tech Community
Laravel Tech Community
Nov 2, 2021 · Backend Development

fastcgi_finish_request — Flush All Response Data to the Client (PHP)

The PHP function fastcgi_finish_request flushes all pending response data to the client and terminates the request, allowing the server to continue executing time‑consuming tasks after the client connection has closed, and returns TRUE on success or FALSE on failure.

FastCGIRequestflush
0 likes · 1 min read
fastcgi_finish_request — Flush All Response Data to the Client (PHP)
php中文网 Courses
php中文网 Courses
Jul 7, 2021 · Backend Development

Understanding PHP SAPI Internals: CGI Module Structure and Startup Process

This article provides an in‑depth English overview of PHP’s SAPI architecture, detailing the CGI SAPI module structure, the core _sapi_module_struct and sapi_globals definitions, and walking through the startup sequence including sapi_startup, sapi_globals_ctor, and FastCGI initialization with code examples.

BackendC++CGI
0 likes · 10 min read
Understanding PHP SAPI Internals: CGI Module Structure and Startup Process
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.

BackendFastCGIPHP
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.

BackendCoroutineFastCGI
0 likes · 10 min read
Using Swoole Coroutine FastCGI Client to Call PHP‑FPM and Proxy WordPress
Efficient Ops
Efficient Ops
Nov 24, 2019 · Backend Development

How to Build a High‑Performance LAMP Stack with FastCGI, ApacheBench, and XCache

This guide walks through deploying a LAMP architecture with static‑dynamic separation, compiling PHP with FastCGI, configuring Apache proxy to PHP‑FPM, performing load testing using ApacheBench, installing XCache for PHP acceleration, and finally setting up a Discuz BBS forum, providing step‑by‑step commands and performance metrics.

ApacheBBSFastCGI
0 likes · 24 min read
How to Build a High‑Performance LAMP Stack with FastCGI, ApacheBench, and XCache
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
Beike Product & Technology
Beike Product & Technology
May 23, 2019 · Backend Development

Investigation of Nginx 502 Errors Caused by PHP‑FPM Warning Triggering a FastCGI Buffer Defect

This article analyses why seemingly normal PHP‑FPM requests can cause Nginx to return 502 errors, revealing a FastCGI fastcgi_buffer_size bug triggered by warning output, describing the reproduction steps, detailed packet analysis, the underlying protocol mechanics, and practical recommendations for developers and operators.

502 errorBufferFastCGI
0 likes · 17 min read
Investigation of Nginx 502 Errors Caused by PHP‑FPM Warning Triggering a FastCGI Buffer Defect
Efficient Ops
Efficient Ops
Aug 7, 2017 · Backend Development

How Adjusting PHP‑FPM max_requests Stabilizes CPU and Memory Usage

This article explains how tuning the PHP‑FPM max_requests setting and modifying its source code can eliminate periodic CPU_IDLE and MEM_USED fluctuations in high‑traffic web services, resulting in smoother resource utilization and more reliable performance.

CPU optimizationFastCGIMemory usage
0 likes · 6 min read
How Adjusting PHP‑FPM max_requests Stabilizes CPU and Memory Usage