1,把YII框架里面的framework复制粘贴到nginx目录下
2,创建一个商城系统:
1)修改环境变量 制定php.exe的目录
2)C:\Users\Administrator>cd
C:\Users\Administrator
C:\Users\Administrator>d:
D:\>cd wamp
D:\wamp>cd nginx
D:\wamp\nginx>cd html
D:\wamp\nginx\html>cd YII
D:\wamp\nginx\html\YII>cd framework
D:\wamp\nginx\html\YII\framework>yiic webapp ../shop
Create a Web application under ‘D:\wamp\nginx\html\YII\shop‘? [Yes|No] yes
C:\Users\Administrator>cdC:\Users\Administrator
C:\Users\Administrator>d:
D:\>cd
wamp
D:\wamp>cd nginx
D:\wamp\nginx>cd
html
D:\wamp\nginx\html>cd YII
D:\wamp\nginx\html\YII>cd
framework
D:\wamp\nginx\html\YII\framework>yiic webapp ../shopCreate a Web
application under ‘D:\wamp\nginx\html\YII\shop‘? [Yes|No] yes
YII框架的部署 通过YII脚手架程序创建应用程序系统,布布扣,bubuko.com
原文:http://www.cnblogs.com/java-php/p/3705750.html