本文介绍了在windows环境下Yii的安装过程以及第一个hello world的诞生过程,图文并茂,非常的详尽,有需要的小伙伴参考下。
1,下载Yii,站点:
注意版本,这里是根据Yii1来的,如果是Yii2的话可能会不一样。。。。
2,在自己的“www”目录下建立一个wen应用目录,我这里叫“FantaCMS”,然后把刚刚下载的Yii安装包解压,然后把解压文件中的“framework”目录剪切到“FantaCMS”目录下
3,,在命令行模式下,通过目录切换到“framework”目录下,执行:
属于“yes”开始执行程序
4,安装成功
5,现在项目的目录结构如下:
6,直接在程序中访问:,如图:
7,这样,最基本的一个Yii应用已经建立好了,如果你想通过配置虚拟主机来访问的话,那么配置一下虚拟主机,然后通过配置好的域名直接访问就可以了,不过这一步不是必须的,看个人习惯吧。。。
下一节继续:Yii项目目录结构分析,Yii入口文件分析,Yii路由分析,Yii模板布局设置以及Yii后台项目构建

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

SublimeText3 Chinese version
Chinese version, very easy to use

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

Atom editor mac version download
The most popular open source editor
