This is the 6th article I wrote about building a "Nginx + PHP (FastCGI)" Web server. This series of articles as the earliest detailed introduction Nginx + PHP installation, configuration, use of one of the information to promote Nginx in the domestic development has produced a positive role. The 6th article mainly introduces the new smooth restart method of Nginx 0.8.x, and upgrades PHP to 5.2.14, and fixes the pear problem. Another MySQL 5.1.x upgrade to the 5.5.x series, configuration files ...
PHP fastcgi makes all your PHP apps run through MOD_FASTCI instead of mod_phpsusexec. FastCGI applications are fast because they are durable and stable. You do not have to start and initialize each request. This makes application development possible, otherwise the CGI paradigm is impractical (such as a large script, or an application that needs to connect to a single or multiple databases). Benefits PHP Scripts run faster (3 to 30 times times). PHP interpreter is loaded into memory without ...
The biggest advantage of fastcgi is that it is highly efficient, because once the program is loaded into memory, it stays on for a long time, and does not load up on the memory for every execution, like a normal program. Because for the large number of visits, the actual implementation of relatively simple procedures, it is best to write a fastcgi way, can significantly improve the concurrency processing capacity. Because Nginx does not own fastcgi tool, we need LIGHTTPD spawn-fcgi old version spawn-fcgi in Lighttpd, the new version can be installed independently. Old version ...
Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host Technology Hall recently applied for OpenShift PAAs space, very domineering support N languages, As for the use of the two said, the space application of the tutorial is not listed in this article, interested comrades can be released later on the site of another article gives a detailed introduction, this article is built in you have achieved OPENSHIF ...
Wind Network (ithov.com) original article: Nginx by the kernel and modules, in which the design of the kernel is very small and concise, the completion of the work is very simple, only through the lookup configuration file to map client requests to a location Block (location is an instruction in the Nginx configuration for URL matching), and each instruction configured in this location will start a different module to do the work accordingly. The Nginx module is divided into Core module, basic module and third party model.
1. Bad Request error reason and solution configuration nginx.conf Related settings are as follows. Client_header_buffer_size 16k;large_client_header_buffers 4 64k; According to the specific situation adjustment, the general appropriate adjustment value can be. 2, Nginx 502 Bad Gateway errors Proxy_next_upstream error Timeout inv ...
Nginx modules must be specified at compile time, complete compilation options, available modules can refer to installation options below is an example:./configure \--prefix=/usr \--sbin-path=/usr/sbin/nginx \ conf-path=/etc/nginx/nginx.conf \--error-log-path=/var/log/nginx/error.log \--pid-pat ...
Wind Network (ithov.com) original article: Ispconfig 3.0.5 can use multiple PHP versions on a single server and choose the best PHP version for a website. This feature is available for PHP-FPM (PHP 5.3 and above) and FastCGI (PHP 5.x version). This tutorial describes how to http://www.aliyun.com/zixun/aggregation/13835.html ">ubuntu 1 ...
In http://www.aliyun.com/zixun/aggregation/13835.html ">ubuntu environment to build nginx+php System 1, install Nginx, execute the following command, quickly completed, However, the current Apg-get installation default is 0.5.33 version sudo apt install nginx profile default installation location: [quote]conf:/etc/ngi ...
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.