
下载yii:翻开yii官网,找到你要下载的内容(引荐进修:yii框架)
再装置php环境,这里列出我用的PHPstudy.图中引见装置
下载完的yii放在www文件夹下
翻开\framework下面 yiic.bat运转这个文件建立的运用,或许在www目录下新建index.php 其内容:
<?php // change the following paths if necessary $yii=dirname(__FILE__).'/framework/yii.php'; $config=dirname(__FILE__).'/protected/config/main.php'; // remove the following line when in production mode // defined('YII_DEBUG') or define('YII_DEBUG',true); require_once($yii); Yii::createWebApplication($config)->run(); ?>
加载框架
翻开 :http://localhost/ 当地阅读就可以看到你装置胜利了。
以上就是检察yii是不是装置胜利的细致内容,更多请关注ki4网别的相干文章!