Files
yii/docs/guide/zh_cn/quickstart.installation.txt
2012-03-05 20:37:50 -05:00

23 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
安装
============
Yii 的安装由如下两步组成:
1. 从 [yiiframework.com](http://www.yiiframework.com/) 下载 Yii 框架。
2. 将 Yii 压缩包解压至一个 Web 可访问的目录。
> Tip|提示: 安装在 Web 目录不是必须的,每个 Yii 应用都有一个入口脚本,只有它才必须暴露给 Web 用户。其它 PHP 脚本(包括 Yii应该保护起来不被 Web 访问,因为它们可能会被黑客利用。
需求
----
安装完 Yii 以后你也许想验证一下你的服务器是否满足使用 Yii 的要求,只需浏览器中输入如下网址来访问需求检测脚本:
~~~
http://hostname/path/to/yii/requirements/index.php
~~~
Yii 的最低需求是你的 Web 服务器支持 PHP 5.1.0 或更高版本。Yii 在 Windows 和 Linux 系统上的 [Apache HTTP 服务器](http://httpd.apache.org/) 中测试通过。理论上来说,在其它支持 PHP 5.1 的 Web 服务器和平台上Yii也能正常工作。
<div class="revision">$Id: quickstart.installation.txt 2338 2012-02-27 07:13:42Z dongbeta@qq.com $</div>