码迷,mamicode.com
首页 >  
搜索关键字:nginx ssl    ( 31695个结果
nginx+php 在windows下的简单配置安装
开始前的准备PHP安装包下载:http://windows.php.net/downloads/releases/php-5.5.14-Win32-VC11-x86.zipNginx 下载地址:http://nginx.org/download/nginx-1.6.0.zipRunHiddenCon...
分类:Windows程序   时间:2014-07-13 22:28:29    阅读次数:468
【Nginx】epoll事件驱动模块
Linux 2.4版本的内核之前,Nginx的事件驱动方式是使用的poll、select函数。进程需要等待连接上有事件发生(收到数据)时,需要把所有连接都告诉内核,由内核找出哪些连接上有事件发生。由于需要把大量连接从用户空间拷贝到内核空间,所以开销巨大,因此,使用poll、select事件驱动方式,最大并发数量只能达到几千。Linux 2.6版本之后添加了epoll函数接口,使得最大并发数量可以达...
分类:其他好文   时间:2014-07-13 17:27:34    阅读次数:311
移动App通讯协议及序列化方式的选择
简单列一下不同协议,序列化方式等的考虑。 http还是私有协议? http协议优/缺点: 在服务器端只需要提供一份接口,浏览器和app共用。在app中嵌入web view也很容易。 http协议的相关工具非常多。开发人员很方便 。比如负载均衡,直接nginx搞定。 比如统计一个接口的调用次数,相当的方便,有现在的分析工具。 压力测试也很方便。 http协议可能http服务器有漏洞...
分类:移动开发   时间:2014-07-13 17:23:01    阅读次数:253
Ngnix中的fastcgi参数性能优化和解释
优化性能参数设置,在ngnix.conf中的http 层加上fastcgi参数如下: http { fastcgi_cache_path  /usr/local/nginx/fastcgi_cache levels=1:2 keys_zone=TEST:10m inactive=5m; fastcgi_connect_timeout=300; fastcgi_send_timeout=30...
分类:其他好文   时间:2014-07-13 17:17:07    阅读次数:218
更改nginx网站根目录
默认网站根目录为/usr/local/nginx/html,要将它改成/homw/www vi /usr/local/nginx/conf/nginx.conf 将其中的         location / {             root   html;             index  index.php index.html index.htm;...
分类:Web程序   时间:2014-07-13 17:06:03    阅读次数:219
php-fpm.conf配置说明(重点要修改和优化的地方)
All relative paths in this config are relative to php's install prefix Pid file /usr/local/php/logs/php-fpm.pid Error log file /usr/local/php/logs/php-fpm.log Log level notice Whe...
分类:Web程序   时间:2014-07-13 16:26:05    阅读次数:248
please specify user and group other than root, pool 'default'
[root@luozhonghua etc]# /usr/local/php/sbin/php-fpm start Starting php_fpm Jul 12 09:41:02.077951 [ERROR] fpm_unix_conf_wp(), line 124: please specify user and group other than root, pool 'default' ...
分类:其他好文   时间:2014-07-13 16:20:24    阅读次数:225
nginx php No input file specified 如何处理?
配置nginx支持php 出现了No input file specified ? 只要修改下安装目录下的  nginx.conf下的  location ~ \.php$ {              root           html;              fastcgi_pass   127.0.0.1:9000;              fastcgi_index  ...
分类:Web程序   时间:2014-07-13 16:16:48    阅读次数:270
CentOS 6.5安装lvs+keepalive负载均衡+故障转移nginx
环境192.168.1.219为keepalived和lvs的VIP地址192.168.1.222为keepalived的主并安装ipvsadm192.168.1.221为keepalived的从并安装ipvsadm192.168.1.218为nginxweb服务器192.168.1.220为nginxweb服务器在192.168.1.222下载keepalived和ipvsadmmkdir/root/repocd/root/repowgethtt..
分类:其他好文   时间:2014-07-13 14:54:07    阅读次数:536
configure: error: XML configuration could not be found
执行: ./configure --prefix=/usr/local/php --enable-fastcgi --enable-fpm 之后出现   Running FastCGI Process Manager checks checking for php-fpm config file path... $prefix/etc/php-fpm.conf checking for ...
分类:其他好文   时间:2014-07-13 13:50:43    阅读次数:205
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!