今天终于搞定了Windows下的Nginx环境。[strike]使用了Kevin编译的[url=http://www.kevinworthington.com/nginx/win32/]Nginx-Win32-v0.7.1[/url][/strike],不过我对配置文件做了修改,使得Nginx可以放在任意目录,而不一定要在C盘根目录。
另外,我将PHP5.2和MySQL5.0加入进去,两者都作了最大限度的精简。[strike]值得一提的是PHP中加入了Blitz模板的dll[/strike],这个可是我见过最快的PHP模板技术了。另外,[color=#DC143C]MySQL的默认帐号是root,密码为空[/color]!
使用方法和修改Nginx路径的方法,请阅读压缩包内的ReadMe.txt。抄写如下:
[quote]直接将其解压
Process.exe可能会被杀毒软件报毒
各组件版本如下
nginx 0.8.0
php 5.2.9
mysql 5.0.51b
管理员: root
密码为空[/quote]
[color=#FF0000]注[/color]:
2009年6月更新:
现在已经没有conf/start-nginx.bat这个文件了;
不再限制在分区下的opt目录。
[color=#DC143C]请需要的朋友到Qupan趣盘下载[url='http://azhai.qupan.com/3638428.html']下载:opt.zip[/url],大小11.5M。
http://azhai.qupan.com/3638428.html
[/color]
解压到某个目录,点击 start.bat 就可以运行。
No related posts.
以上关联文章由 Yet Another Related Posts Plugin 提供支持。
替换SQL文件中的表结构Gae环境下第一个uliweb小程序开发
No related posts.
以上关联文章由 Yet Another Related Posts Plugin 提供支持。
php-cgi的启动方法为 php-cgi.exe -b 127.0.0.1:9000 -c php.ini
而RunHiddenConsole.exe是用于隐藏这条命令产生的DOS窗口。
nginx下有个Process.exe,它是用于杀灭Windows进程以关闭这三个服务。
只要在nginx/conf/nginx.conf中加入一些配置,使它们覆盖默认的值,nginx就可以到处移动了。
大家可以打开nginx.conf看一下,我所说的这些配置,就是所有值以 /Studio/nginx开头的配置。
运行是运行 了,可惜打不开localhost,不知道啥意思
下不了,什么下载站啊
谢谢了,找了很久
今天更新了各个程序到最新版
各组件版本如下
nginx 0.7.6
php 5.2.6
mysql 5.0.51b
blitz 0.5.13
RYAN,你好,用了你的“Nginx-PHP精简套装”,访问index.php时正常,但我安装另外一个网站时开始几个页面是可以的,可安装到了中间时,等了半天(估计是超时)后出现提示:
404 Not Found
————————————-
nginx/0.7.6
查看nginx下的logs下的文件
access.log:
127.0.0.1 – - [20/Jul/2008:22:03:44 +0800] GET /admin/environment.xml HTTP/1.0 "404" 168 "-" "-" "-"
error.log:
2008/07/20 22:03:43 [error] 1980#0: *1 upstream timed out (116: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: 127.0.0.1, request: "POST /install.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost", referrer: "http://localhost/install.php"
2008/07/20 22:03:43 [error] 1980#0: *1 open() "/opt/moodle/50x.html" failed (2: No such file or directory), client: 127.0.0.1, server: 127.0.0.1, request: "POST /install.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost", referrer: "http://localhost/install.php"
2008/07/20 22:03:44 [error] 1980#0: *3 upstream timed out (116: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: 127.0.0.1, request: "GET /admin/environment.xml HTTP/1.0", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"
2008/07/20 22:03:44 [error] 1980#0: *3 open() "/opt/moodle/50x.html" failed (2: No such file or directory), client: 127.0.0.1, server: 127.0.0.1, request: "GET /admin/environment.xml HTTP/1.0", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"
好像不能显示php页面中的中文字,怎么设置呢?
那个网盘垃圾啊 下载不了。。。能发到邮箱吗 iseeisee{at}gmail.com
[emot]shock[/emot] 不行啊。。。总是提示php 404 郁闷
下载空间可以和我联系我提供,我汗 都没地方下载!!!!! qq:282034556
nginx不知道在windows下性能怎样
能不能虚拟其它盘的目录
下载下来了,是否可以使用php-pfm呢/
还可以,优化跟不上。