-
Notifications
You must be signed in to change notification settings - Fork 196
ruanxianhuo edited this page Oct 11, 2013
·
1 revision
1.window 32 下配置
1.1 下载开发环境和zphp代码
php:php-5.4.20-nts-Win32-VC9-x86
nginx:nginx-1.5.6.zip
安装包位置:http://yunpan.cn/QbRYVAKVpvuJt
下载zphp代码:https://github.com/shenzhe/zphp 放到某个文件夹下
1.2 配置nginx-1.5.6/conf/vhost/localhost.conf
修改 root E:/project/zphp/trunk/demo/webroot 到你机器zphp/demo/webroot 的路径
1.3 修改hosts C:\WINDOWS\system32\drivers\etc\hosts
127.0.0.1 zphp.cn(也可以修改为你要的域名在vhost/localhost.conf里修改)
1.4 点击web目录下 start_nginx.bat
1.5 在浏览器下访问http://zphp.cn/main.php
出现:zphp runing!
说明zphp环境安装完成了。
(要支持swoole 和 phpredis只能在linux环境下部署环境)
2.linux 下环境配置: