请问运行yiic shell为什么会报错 [ 新手入门 ]
运行yiic shell报错,说index.php的问题,查了下 Yii目录下有个index.php,应该说的是存在的,并且该页面通过浏览器可以打开 。请问为什么会报这个错呢?
D:\skill\finance\yii-1.1.10.r3566\framework>yiic shell
Error: index.php does not exist or is not an entry script file.
USAGE
yiic shell [entry-script | config-file]
DESCRIPTION
This command allows you to interact with a Web application
on the command line. It also provides tools to automatically
generate new controllers, views and data models.
It is recommended that you execute this command under
the directory that contains the entry script file of
the Web application.
PARAMETERS
* entry-script | config-file: optional, the path to
the entry script file or the configuration file for
the Web application. If not given, it is assumed to be
the 'index.php' file under the current directory.
D:\skill\finance\yii-1.1.10.r3566\framework>
共 1 条回复
onunix china
注册时间:2012-03-19
最后登录:1970-01-01
在线时长:0小时0分
最后登录:1970-01-01
在线时长:0小时0分
- 粉丝2
- 金钱1145
- 威望0
- 积分1145