您好,欢迎访问一九零五行业门户网

查看yii是否安装成功

下载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是否安装成功的详细内容。
其它类似信息

推荐信息