Tagged articles
CGI
18 articles · Page 1 of 1
This article analyzes five pivotal 1970s technologies — TCP/IP networking, floppy disk storage, laser printing, computer-generated imagery in film, and ROM game cartridges — tracing how each solved a fundamental problem and laid groundwork for today's internet, portable storage, office printing, digital visual effects, and software-driven hardware ecosystems.
1970s technologyCGIcomputer history
0 likes · 14 min read

Workerman 5.0 has been officially released after two years of development, bringing performance boosts, coroutine support, full compliance with the RFC3875 CGI specification, PHP 8.3 compatibility, and detailed installation and upgrade instructions, including version differences and status checks for both pre‑5.0 and post‑5.0 environments.
CGIPHPRFC3875
0 likes · 7 min read


DevOpsAug 25, 2024 · Fundamentals
This article explains the complete journey of a web request—from IP addressing, DNS resolution, and CDN acceleration, through TCP stream handling and message framing, to CGI/FastCGI execution, server model choices, and the evolution of data-layer architectures for scalable applications.
CDNCGIDNS
0 likes · 21 min read

The article walks through every stage of a web request—from IPv4 addressing, NAT, and DNS resolution through CDN proximity and TCP stream handling, to HTTP framing, CGI versus FastCGI processing, stateless versus stateful server models, and finally database scaling techniques such as sharding and Redis caching.
CDNCGIDNS
0 likes · 21 min read

This article explains how Windows’ Best‑Fit Mapping can cause PHP‑CGI to misinterpret query‑string characters, allowing attackers to inject malicious parameters and execute arbitrary code, and provides detailed mitigation steps including version upgrades and Apache rewrite rules.
CGIPHPSecurity
0 likes · 7 min read

This guide walks C beginners through the TinyHttp project—providing Chinese annotations, environment setup, common pitfalls, detailed code flow, key function explanations, and step‑by‑step instructions to compile, run, and test a minimal web server.
C++CGIHTTP server
0 likes · 5 min read

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.
CGIPHPfastcgi
0 likes · 3 min read

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.
ASGICGIPython
0 likes · 17 min read

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.
C++CGISAPI++
0 likes · 10 min read

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.
Application DevelopmentCGIPHP-FPM
0 likes · 32 min read

This article explains the key web‑server interfaces and deployment tools for Python—including CGI, FastCGI, WSGI, uWSGI, Gunicorn, and Tornado—so developers can choose the right protocol and server architecture for production environments.
CGIGunicornPython
0 likes · 13 min read

An in‑depth guide explains the evolution from CGI to FastCGI, WSGI, uWSGI, Gunicorn and Tornado, detailing each protocol’s architecture, performance benefits, and deployment steps for Python web applications, helping developers choose the right server setup for production environments.
CGIGunicornPython
0 likes · 13 min read

This article compares Python web deployment options, explaining the concepts and workflows of CGI, FastCGI, WSGI, uWSGI, Gunicorn, Tornado, and related tools, and offers guidance on selecting the appropriate server and protocol for production environments.
CGIGunicornWSGI
0 likes · 14 min read

This article explains the key server interfaces and deployment options for Python web applications—including CGI, FastCGI, WSGI, uWSGI, Gunicorn, and Tornado—detailing their architectures, workflows, and practical usage with Nginx and process managers.
CGIGunicornWSGI
0 likes · 15 min read

This guide walks through creating a basic HTTP/1.0 web server in C that handles GET/POST requests, serves static HTML, performs error handling, runs simple CGI scripts, and interacts with a MySQL database, complete with project structure and common troubleshooting tips.
C++CGIweb-server
0 likes · 10 min read


21CTOJun 11, 2016 · Operations
A deep dive into a long‑standing PHP‑CGI deadlock that left deleted log files occupying disk space, explaining how signal‑unsafe functions caused the lock, how the issue was diagnosed with lsof, strace and gdb, and the practical steps to eliminate the deadlock.
CGILinuxOperations
0 likes · 8 min read


21CTOJun 10, 2016 · Backend Development
This article explains the role of CGI as a protocol for passing request data, how FastCGI improves performance by reusing processes, and why PHP‑FPM is the widely adopted FastCGI implementation that enables smooth configuration reloads for PHP applications.
CGIPHP-FPMfastcgi
0 likes · 6 min read

This tutorial walks you through preparing the build environment, compiling APR, APR‑util and Apache httpd 2.4.9 on CentOS 6.6, configuring modules, adding environment variables, setting up CGI, compression and status pages, and verifying the installation with practical tests.
ApacheCGICentOS
0 likes · 15 min read
