1.Nginx 1.1.安装 Nginx 的中文维基 http://wiki.codemongers.com/NginxChs 下载 Nginx 0.6.26(开发版)(请下载最新版本号)tar zxvf nginx-0.6.26.tar.gz./configure。注意了类似checking fo ...
分类:
其他好文 时间:
2017-05-13 20:01:30
阅读次数:
372
fastcgi_cache_path /usr/local/nginx/fastcgi_cache levels=1:2 keys_zone=TEST:10m inactive=5m; fastcgi_connect_timeout 300; fastcgi_send_timeout 300; fa ...
分类:
其他好文 时间:
2017-04-28 13:50:47
阅读次数:
225
解决方法: 修改 fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; 为: fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_para ...
分类:
其他好文 时间:
2017-04-26 22:56:27
阅读次数:
172
优化性能参数设置,在ngnix.conf中的http层加上fastcgi参数如下:http{fastcgi_cache_path/usr/local/nginx/fastcgi_cachelevels=1:2keys_zone=TEST:10minactive=5m;fastcgi_connect_timeout=300;fastcgi_send_timeout=300;fastcgi_buffer_size=64k;fastcgi_buffers464k;fastcg..
分类:
其他好文 时间:
2017-04-11 10:20:42
阅读次数:
140
安装zabbix的前提 首先要有LAMP 或者LNMP的环境 我安装的是LNMP 一、LNMP的安装 Linux(RHEL6.4) + Nginx(FastCGI) + PHP(php-fpm) + MySQL 所需软件包: nginx-1.4.4.tar.gzphp-5.5.7.tar.gzcma... ...
分类:
其他好文 时间:
2017-04-01 13:53:59
阅读次数:
234
有时候nginx错误日志里面显示这个报错,很烦。2017/03/1610:57:36[error]1751#0:*167548FastCGIsentinstderr:"Primaryscriptunknown"whilereadingresponseheaderfromupstream,client:183.82.0.15,server:www.crowncredit.cn,request:"GET/phpMyAdmin/scripts/setup.phpHTTP/1.1..
分类:
其他好文 时间:
2017-03-16 22:36:59
阅读次数:
218
一、FastCGI 1.介绍 CGI全称通用网关接口 Commmon Gateway Interface 用于HTTP服务上的程序服务通信交流的一种工具,CGI程序须运行在网络服务器上。 传统CGI接口方式性能较差,由于每次HTTP服务器遇到动态程序需要重启解析器来执行解析,然后结果被返回给HTTP ...
分类:
其他好文 时间:
2017-02-13 23:41:44
阅读次数:
314
http://blog.csdn.net/allenlinrui/article/details/19419721 1.介绍 Nginx - 高性能web server,这个不用多说了,大家都知道。 FastCGI程序 - 常驻型CGI程序,它是语言无关的、可伸缩架构的CGI开放扩展,其主要行为是将 ...
分类:
编程语言 时间:
2016-11-30 22:49:01
阅读次数:
269
1、fastcgi介绍FastCGI:快速通用网关接口(FastCommonGatewayInterface/FastCGI)是一种让交互程序与Web服务器通信的协议。FastCGI像是一个常驻(long-live)型的CGI,它可以一直执行着,只要激活后,不会每次都要花费时间去fork一次。它还支持分布式的运算,即FastCGI程序可以..
分类:
其他好文 时间:
2016-10-22 01:01:09
阅读次数:
255
Nginx不支持对外部程序的直接调用或者解析,所有的外部程序(包括PHP)必须通过FastCGI接口来调用。FastCGI接口在Linux下是socket(这个socket可以是文件socket,也可以是ip socket)。为了调用CGI程序,还需要一个FastCGI的wrapper(wrappe ...
分类:
其他好文 时间:
2016-10-05 15:00:35
阅读次数:
114