博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Win 7 XAmpp yii 环境配置
阅读量:6995 次
发布时间:2019-06-27

本文共 1217 字,大约阅读时间需要 4 分钟。

转自国外的一篇文档

Yii is a new php framework which is going to be used widely in the near future.Here i am going to guide how to install Yii framework in xampp on windows platform.
Step1
Download the frame work from 
Step2
Unpack it and and put the folder in C:\xampp\htdocs\yii (or the path you installed xampp).
Step3
Start the Xampp control panel and start the apache server and mysql
Step4
Open the browser and got to
if you put folder correctly in htdocs you should be getting the above page
Creating web app from cmd windows(comand promtp)
How to use the yiic command to bootstrap the creation of a new
Yii application
Step1
  1. right click "my computer"
  2. go to "system properties" under "advanced" tab, click on "environment variables"
  3. under "system variables" find for the variable named "PATH" and click on "Edit" button
in "Variable Value" append the php.exe path with a semi-colon like below
;C:\xampp\php
if you dont do the above step correctly you will get this error "
php.exe is not recognized as an internal or external command"
Step2
open cmd and enter
cd c:\xampp\htdocs\yii\framework
then enter
yiic webapp ..\newapp
you will prompted with
 

 

 安装完成后,输入 就可以查看这个demo网站了。

 

为了方便的运行Yii的命令,最好将YII framework目录加入Windows 环境变量里 

 

 

转载地址:http://saivl.baihongyu.com/

你可能感兴趣的文章
AdaBoost
查看>>
02基于python玩转人工智能最火框架之TensorFlow人工智能&深度学习介绍
查看>>
EFCode First 导航属性
查看>>
【夯实Mysql基础】记一次mysql语句的优化过程
查看>>
Spring mvc:interceptors 探究
查看>>
array_kes($array,search,type) 的妙用
查看>>
《Asp.Net Web API》 ----路由机制
查看>>
Spring Boot 学习例子
查看>>
js this
查看>>
mvc view 中 js 不反应
查看>>
高级特性(8)- JavaBean构件
查看>>
20. Cookie 和 Session
查看>>
linux学习摘记
查看>>
C++11之function模板和bind函数适配器
查看>>
mac地址,厂商对应列表
查看>>
VUE3)操作cookie
查看>>
python 文件处理总结
查看>>
jmeter和loadrunner测试结果差异大-web页面静态资源下载
查看>>
一个长期颈椎问题的工薪阶层关于颈椎的康复和预防的心得
查看>>
jsp中${pageContext.request.contextPath}的意思
查看>>