I can't set up the console for cakePHP on windows

I added the path C:\wamp\www\cakephp\lib\Cake\Console on Environment Variables, but when I try to run in command prompt I get that
‘cake’ is not recognized as an internal or external command,
operable program or batch file.
Can someone please tell me what I did wrong?

The simple, but probably not the answer you want to hear, answer is: Don’t use Windows to develop on.


1 Like

Yes, Windows can be a PITA

does not look like
include_path = .:/home/mark/projects/cakephp/lib:/usr/local/php/lib/php

After restarting your webserver, you should see the changes reflected in phpinfo().
If you are on windows, separate include paths with ; instead of :


Mittineague, I have ; between paths. I looked for that too in the beginning. But still doesn’t work.

Were you able to successfully install Composer ?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.