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
时间: 2024-10-19 19:41:25