标签:io strong ar 文件 art html on c ad
安装nginx 
windows 版本 如何安装成服务?
安装php 安装mysql 
nginx是个不错的web服务器软件,下面介绍如何安装WNMP服务器套件环境。 
1.安装mysql 
这个可以下载安装程序来安装 
2.安装PHP 
修改对应PHP 的配置文件 
extension_dir 指定到对应的目录 
还有该load 的extension需去掉注释(至少mysql…) 
cgi.fix_pathinfo=1 
3.安装Nginx 
将document_root 指定到对应目录 
即修改root设置 
root e:/www; 
另外需将index.php 加入到index中 
index index.html index.htm index.php; 
找到“ ~ .php?$”,将这段的注释去掉 
fastcgi_param SCRIPT_FILENAME e:/www$fastcgi_script_name; 
4.以cgi模式运行php 
C:/php/php-cgi.exe -b 127.0.0.1:9000 -c C:/php/php.ini 
5.运行nginx 
到nginx的安装目录,找到 nginx.exe,直接运行就是 
net start [service(服务名称)] 
停止命令: 
net stop [service(服务名称)]
标签:io strong ar 文件 art html on c ad
原文地址:http://my.oschina.net/thismyhome/blog/309822