'php'或'cake','bake'不被识别为内部或外部命令+ cakephp [英] 'php' or 'cake', 'bake' is not recognized as an internal or external command + cakephp

查看:74
本文介绍了'php'或'cake','bake'不被识别为内部或外部命令+ cakephp的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要支持一些东西.但不幸的是,蛋糕烘烤不起作用.

I ant to back some stuff. but unfortunately cake bake doesn't work.

我在控制台中得到这个:

I get this in console:

'php' or 'cake' is not recognized as an internal or external command

推荐答案

右键单击MyComputer/

Right click on MyComputer /

属性/

高级系统设置/

环境变量/

系统变量part/

选择路径

->编辑->将此添加到路径

-> edit -> add this to the path

Cakephp 2.x

Cakephp 2.x

  • C:\ wamp \ www \ Name_of_cake_folder \ app \ Console;
  • C:\ wamp \ bin \ php \ php5.4.12或php版本
  • Cakephp 3.x

    Cakephp 3.x

    • C:\ wamp \ www \ Name_of_cake_folder \ bin;

      • C:\wamp\www\Name_of_cake_folder\bin;

        C:\ wamp \ bin \ php \ php5.4.12或php版本

        C:\wamp\bin\php\php5.4.12 or php version

        注意:请确保路径之间没有空格

        Note: Make sure there is no space between paths

        这篇关于'php'或'cake','bake'不被识别为内部或外部命令+ cakephp的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆