首页 > Web开发 > 详细

安装nging,php

时间:2014-07-05 16:57:04      阅读:420      评论:0      收藏:0      [点我收藏+]

http://www.zihou.me/html/2010/11/14/2658.html

 

http://www.linuxidc.com/Linux/2011-04/34964p4.htm

 

http://www.cnblogs.com/jsckdao/archive/2011/05/05/2038265.html

1.下载 pcre-8.10.tar.gz (http://sourceforge.net/projects/pcre/files/pcre/)

#unzip pcre-8.10.zip 

#cd pcre-8.10

#./configure

#make && make install

 

2.下载nginx

# cd   nginx-1.1.1

#  ./configure --prefix=/usr/local/nginx --with-http_stub_status_module

# make && make install 

检查是否安装成功

cd  /usr/local/nginx/sbin

 ./nginx -t 

结果显示:

nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok

nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful

启动nginx 

cd  /usr/local/nginx/sbin 目录下面 输入 ./nginx 启动 nginx

检查是否启动成功

          ie 浏览器中输入 http://192.168.15.132

安装nging,php,布布扣,bubuko.com

安装nging,php

原文:http://www.cnblogs.com/taek/p/3823057.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!