开发者社区 问答 正文

yii创建项目报错求解?报错

D:\wamp\bin\php\php5.3.3>php.exe D:\wamp\www\yii-1.1.15.022a51/framework/yiic we
bapp WebRoot/testdrive
Error: The directory 'WebRoot\testdrive' is not valid. Please make sure the pare
nt directory exists.
YII创建项目报错求解

展开
收起
爱吃鱼的程序员 2020-06-14 21:59:23 588 分享 版权
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    比如你的項目名是: testdrive,目录:D:\www\ testdrive

    你这个  WebRoot/testdrive要换成 D:\www\ testdrive

    其实就是后面接的是你项目所在的路径。

    路径不存在而已,建议写绝对路径
    2020-06-14 21:59:41
    赞同 展开评论
问答分类:
问答地址: