how to bake on windows xampp environment
Just a small note about the command that we need to run to bake cakephp in windows, xampp environment. Here is this
> start the command promt
> go to php folder,
>run the following command to start baking
php.exe C:/xampp/htdocs/cakeblog/cake/console/cake.php bake
where “C:/xampp/htdocs/cakeblog/cake/console/cake.php” is the path of bake file.
Have Baking!
Macbook Pro 15
Nikon D90
I am using WAMP and I tried out your solution and it gave me the following error any ideas about it?
Thanks
Junaid Arif
Fatal error: Cannot access empty property in c:\wamp\www\mysite\cake\console\libs\bake.php on line 52
Junaid Arif
June 16, 2009 at 3:42 am
I’ve tried it in wampserver 2.0 which works fine for me. From command promt, just follow the steps bellow
1. Go to command promt
2. Change your location to php path
3 Start bake
Then you will see the following screen if you are successfull.
That’s it.
kodegeek
June 16, 2009 at 6:51 am
thank you very much, i have 2 days that i wanna resolve this problem
HaYsSeN
June 24, 2009 at 11:34 pm
you welcome
kodegeek
September 5, 2009 at 2:29 pm
Thanks a lot for making this blog post. I’m reading a book that totally left us windows guys in the dark.
I got this error:
PHP.exe Unable to locate component
This application has failed to start because php_mbstring.dll was not found. Re-installing the application may fix this problem
But once you hit ok to acknowledge the error it continues loading and bring you to the Interactive Bake Shell.
Jon Lyles
September 29, 2009 at 11:13 pm
Hi Jon Lyles,
It seems, some of php component is missing. Are you using xampp? If no, get a copy from here http://www.apachefriends.org/en/xampp.html and follow the steps above. If yes, Re-installing should solve your problem.
Thanks
kodegeek
September 30, 2009 at 11:09 am
I tried this out and now every time I run cake bake it asks if I want to copy a template over , every single time. Is there any way to get rid of this?
tg2345
October 30, 2009 at 5:36 am
Sorry tg2345, no idea
kodegeek
October 30, 2009 at 11:21 am