You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.7 KiB
64 lines
1.7 KiB
13 years ago
|
Yii 2 Web Programming Framework
|
||
|
===============================
|
||
|
|
||
|
Thank you for choosing Yii 2 — a high-performance component-based PHP framework.
|
||
|
|
||
|
|
||
|
INSTALLATION
|
||
|
------------
|
||
|
|
||
|
Please make sure the release file is unpacked under a Web-accessible
|
||
|
directory. You shall see the following files and directories:
|
||
|
|
||
|
demos/ demos
|
||
|
framework/ framework source files
|
||
|
requirements/ requirement checker
|
||
|
changelog.md describing changes in every Yii release
|
||
|
license.md license of Yii
|
||
|
readme.md this file
|
||
|
updgrade.md upgrading instructions
|
||
|
|
||
|
|
||
|
REQUIREMENTS
|
||
|
------------
|
||
|
|
||
|
The minimum requirement by Yii is that your Web server supports
|
||
|
PHP 5.3.8 or above. Yii has been tested with Apache HTTP server
|
||
|
on Windows and Linux operating systems.
|
||
|
|
||
|
Please access the following URL to check if your Web server reaches
|
||
|
the requirements by Yii, assuming "YiiPath" is where Yii is installed:
|
||
|
|
||
|
http://hostname/YiiPath/requirements/index.php
|
||
|
|
||
|
|
||
|
QUICK START
|
||
|
-----------
|
||
|
|
||
|
Yii comes with a command line tool called "yiic" that can create
|
||
|
a skeleton Yii application for you to start with.
|
||
|
|
||
|
On command line, type in the following commands:
|
||
|
|
||
|
$ cd YiiPath/framework (Linux)
|
||
|
cd YiiPath\framework (Windows)
|
||
|
|
||
|
$ ./yiic webapp ../testdrive (Linux)
|
||
|
yiic webapp ..\testdrive (Windows)
|
||
|
|
||
|
The new Yii application will be created at "YiiPath/testdrive".
|
||
|
You can access it with the following URL:
|
||
|
|
||
|
http://hostname/YiiPath/testdrive/index.php
|
||
|
|
||
|
|
||
|
WHAT's NEXT
|
||
|
-----------
|
||
|
|
||
|
Please visit the project website for tutorials, class reference
|
||
|
and join discussions with other Yii users.
|
||
|
|
||
|
|
||
|
|
||
|
The Yii Developer Team
|
||
|
http://www.yiiframework.com
|