cakephpcakephp-2.3

Cannot get the cakephp 2.3 console running on xampp on Windows 7


I am running a cakePHP app which is located in C:xammp\htdocs\scheduling. I am running it on xampp on Windows 7. I have added the following environment variables:

C:\xampp\htdocs\scheduling\app\Console\;C:\xampp\php;

but still cannot get the cakephp console in operation. When I navigate to C:\xampp\htdocs\scheduling\app and try to get the cake console or cake help, I am given a message that it is not recognized as an internal or external command.

And yes, I did reload the cmd after adding the environment variables.


Solution

  • Its Easy just follow the steps as mentioned below:

    1. put Your PHP Path in environment Variable
    2. Open Command Prompt with Admin priviliges
    3. change directory to C:\xampp\htdocs\your_appname\app\console
    4. Type in " Cake Bake " and run

    And You Are ready to go...................Happy Baking...........................