View the running status of Nginx and PHP-FPM in a browser
View Nginx statusLocation/nginx_status {
Stub_status on;
Access_log off;
Allow 127.0.0.1;
Deny all;
}
Curl http: // 127.0.0.1/nginx_status
Http://nginx.org/en/docs/http/ngx_http_status_module.
; Start a new pool named ' www '.; The variable $pool can we used in any directive and would be a replaced by the; Pool name (' www ' here) [www]; Per pool prefix; It only applies on the following directives:; -' slowlog '; -' Listen ' (unixsocket);
A.Features1. high efficiency and low memory usage.2. Permission separation. users do not interfere with each other.3. Dynamic Process Management and balanced resource allocation.
B.Application descriptionNginx: an event-driven Web server. It adopts
PHP-FPM to achieve performance optimization, php-fpm Performance Optimization
Introduction:
PHP-FPM is a PHP FastCGI manager, the general Nginx above the run PHP program will be PHP program thrown to the PHP-FPM for parsing. Okay, that's it!
PHP 5.4
This article describes how to configure and pay attention to performance optimization through php-fpm. if you need it, refer to the following introduction:
PHP-FPM is a PHP FastCGI manager, the general Nginx above the run PHP program will be PHP
Brief introduction:
PHP-FPM is a PHP FastCGI manager, General Nginx run PHP program will be thrown to the PHP program php-fpm to resolve. All right, that's it!
PHP 5.4 began to integrate the PHP-FPM, that is, when compiling PHP, as long as--ENABLE-
For php-fpm parameter settings, in many cases there is a doubt that the built-in parameters such as pm.max_children,pm.start_servers, such as the number of parameters such as how much this setting is appropriate. In fact, these parameters often
Writing BackgroundFor a long time did not write a blog, the front end times to say go on the trip, and love to resign, go to Yunnan play for half a month, just come back, recently a time in looking for work, nothing on the Internet to see technology-
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.