내가 CakePHP의 새로운 오전과 자습서를 다음과 다음 작업을 수행 할 때 처음에는이 문제에 직면 그래서 구워 시작 :는 베이킹 7
- 는 PHP에 경로를 추가하고 CakePHP는
- 을 다음과 같은 메시지 CMD를 실행하고 "케이크"를 입력하고 얻을 : 개발되고있는 응용 프로그램이 저장되는 경로에
Welcome to CakePHP v2.2.3 Console --------------------------------------------------------------- App : C: Path: C:\ --------------------------------------------------------------- Current Paths: -app: C: -working: C: -root: C: -core: C:\xampp\cake\lib Changing Paths: Your working path should be the same as your application path to change your pat h use the '-app' param. Example: -app relative/path/to/myapp or -app /absolute/path/to/myapp Available Shells: [CORE] acl, api, bake, command_list, console, i18n, schema, test, testsuite, upg rade To run an app or core command, type cake shell_name [args] To run a plugin command, type cake Plugin.shell_name [args] To get help on a specific command, type cake shell_name --help
3.I 유형, 즉 :
C:\xampp\htcdocs\blogC : ... blog \ app, C : ... blog \ app \ console, C : ... 블로그 \ lib \ cake \ console, 과 같은 가능한 경로를 모두 추가하려고했습니다. 시스템이 지정된 경로를 찾을 수 없다는 메시지를 얻으십시오.
지금은 시간의 부부를위한 솔루션을 찾고있다 만 CakePHP의 이전 버전이나 다른 OS하지만 윈도우 7
프로젝트의 cake/console 경로를 환경 변수에 추가 하시겠습니까? –
네, 그걸 시도 했니? –
음, 그렇습니다.하지만 성공하지 못했습니다. –