PHP + FastCGI + Nginx Dynamic Request Processing configuration, fastcginginx
Nginx does not support calling external programs. Therefore, you must use the FastCGI interface to call external programs to process client dynamic page requests.
CGI is
[ArticleAuthor: Zhang banquet this article version: V1.0 last modified: 2008.07.30 reprint please indicate the original article link: http://blog.s135.com/read.php/361/]
Yesterday, a friend asked me how to solve the "502 Bad Gateway" error when he
A master process that supports multiple pool, each of which listens to a different port by the master process, with multiple worker processes in the pool.Each worker process has a built-in PHP interpreter, and the process resides in the background,
1. Select the Add CGI feature when installing IIS2. Install PHP,2.1 Download NTS version (non-thread-safe version) Zip compression package, download the corresponding VC + + runtime (download link on the left side of the PHP website download page)2.2
First, the user on the dynamic PHP Web Access processUser browser initiates access to a webpage: http://192.168.1.103/index.phpUser and Nginx server three handshake for TCP connection (ignoring including Nginx access control policy, Nginx Firewall
Linux PHP FastCGI1 FastCGIFastCGI: The Fast Universal Gateway Interface (Fast Common gateway interface/fastcgi) is a protocol that lets an interactive program communicate with a Web server.FastCGI is like a resident (long-live) CGI, which can be
I have to follow the following two steps to resolve, and finally in the 2nd step in the FastCGI timeout time increased to 300, the problem is resolved:
PS: More envy of the Thunder Web server, 16G memory.
1, see the current number of PHP fastcgi
I have to follow the following two steps to resolve, and finally in the 2nd step in the FastCGI timeout time increased to 300, the problem is resolved:
PS: More envy of the Thunder Web server, 16G memory.
---------------------------------------------
Prepare an article
First, the environment description:
Operating system: Windows Server R2
PHP Version: PHP 5.5.8
MySQL version: MySQL5.6.15
Second, related software downloads:
1, PHP download address:
I. Windows compilation configuration Execution lighttpd1, download and install Cygwin.2, download lighttpd source code and unzip3, in the Cygwin environment into the LIGHTTPD decompression folder, the execution:1>./configure–prefix=c:/lighthttd2>
I have written several articles about recent projects. ^This project was designed to be "very large" at the beginning, taking into account a lot of load balancing things, such as using nginx to allocate php requests to several independent servers
This article provides a detailed analysis of the PHP running mode. For more information, see
PHP running mode has four minutes:1) cgi Common Gateway Interface ))
2) fast-cgi resident (long-live) type CGI
3) cli Command Line Interface)
4) web module
Author: Yang xinqi
RecentlyProgramAll of them have been migrated to nginx, and Ubuntu has been used for a while, so I am getting used to the Linux operations. In addition, the Linux performance is really good, so I started to configure it.
This article provides a detailed analysis of the PHP running mode. For more information, see
PHP running mode has four minutes:1) cgi Common Gateway Interface ))
2) fast-cgi resident (long-live) type CGI
3) cli Command Line Interface)
4) web module
Application environmentLNMP environment, the current PHP version 5.3.8, encountered an application need only support PHP 5.2.x, but also want to keep existing applications or PHP 5.3.8. This means that two versions of PHP are required to be present
1. Update the installation environmentBefore installing this Web application, we need to update the latest system software package and run the following command line. The code is as follows:Copy code Sudo apt-get updateSudo apt-get upgrade 2.
Install and configure Nginx and PHP5 in Windows. first, download the latest PHP5.3Windows version from windows. php. netdownload. here PHP runs in FastCGI mode, so please download the NoneTheadSafe version. Decompress the package to C: php5 and
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.