Here's a nice little tip for using CakePHP's console in Windows.
1. Open System Properties by right_click on My Computer icon, select Properties. Or, you press Win + Break.
2. In the System Properties dialog box, select the Advanced tab and click Environment Variables.
3. In System Variables, find the Path variable, highlight it and click Edit .
4. You need to add the following two paths in the Variable value category: (make sure you separate entries with a semicolon.)
+ Path to the directory containing php.exe file. For example C:\xampp\php
+ Path to the CakePHP console directory. For example: C:\xampp htdocs\CakePHP\cake\console
5. You click OK three times to confirm the changes and reboot.
After reboot, you can use CakePHP console. Experiment by:
+ Click Start> Run> cmd [enter].
+ Type cake [enter]
You will see the Cake console Welcome screen appears.
Cake console installation is complete, congratulations!
Taken from http://forum.wareseeker.com/how-to-install-cake-in-windows-xp-t57404.html, with edits.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment