ranxk.com优化之--从apache换到nginx
来源:互联网 发布:婚纱摄影后期制作软件 编辑:程序博客网 时间:2024/05/16 06:40
操作系统:CentOS 5.4
PHP: PHP 5.3.2
Nginx: nginx-0.7.65.tar.gz
---------------操作系统升级
yum -y install gcc gcc-c++ autoconf automake zlib zlib-devel openssl openssl-devel pcre pcre-devel
--------------安装PHP-FPM
cd php-5.3.x
svn co http://svn.php.net/repository/php/php-src/trunk/sapi/fpm sapi/fpm
./buildconf --force
./configure --enable-fpm ...your other configure options, etc...
make && make install
更详细情况参见:http://php-fpm.org/download/
特别注意:
在编译的过程中如果出现 libevent >= 1.4.11 could not be found
你不能通过yum来升级的,需要到 http://www.monkey.org/~provos/libevent/ 下载源码自己编译
find / -name libevent-1.4.so.2 做一个链接
ln -s /{文件所在路径}/libevent-1.4.so.2 /usr/lib/libevent-1.4.so.2
(这是安装的经验)
------------------安装Nginx
- ranxk.com优化之--从apache换到nginx
- ranxk.com优化之--keep alive迷惑
- 优化ranxk.com之:DNS缓存
- CentOS上如何把Web服务器从Apache换到Nginx
- WordPress从Apache迁移到Nginx过程
- zendframework 从apache下迁移到nginx下
- 从apache负载均衡到nginx负载均衡
- 从COM到.Net
- 从C++到COM
- 从eoeandroid换到CSDN-[回顾]
- Nginx反向代理到apache
- Nginx反向代理到apache
- Apache 反向代理到Nginx
- PHP网站从Apache转移到Nginx后产生404错误的原因和解决办法
- 将WordPress博客从Apache移植到Nginx后的若干问题总结
- PHP网站从Apache转移到Nginx后产生404错误的原因和解决办法
- centos 将Apache换为Nginx详细步骤
- 【COM编程】从C++到COM
- Get Integer sided triangles for which the area/perimeter ratio is integral
- 拼图练习(一)有遗留问题
- SilverLight中Button按扭的Enabled=false/true方法
- Ajax中的readyState和status
- struts2标签库使用
- ranxk.com优化之--从apache换到nginx
- Writting Linux Frame Buffer Driver fo LCD Device
- 今天出差
- asp.net ajax 使用AutoCompleteExtender开发自动完成功能
- 从三张表中联合生成动态树(三级)
- asp.net 表单验证
- 什么是sys文件系统
- for用法
- HTTP 和HTTPS