php is not recognized as an internal or external command

Posted on 16th Feb 2014 by admin

Hello,

I am trying to bake the code in CakePHP through my console.
I have changed my Path in Environment Variables but still I am getting this error in console "php is not recognized as an internal or external command". I have tried it to set as C:wampphp and C:wampbinphp (as I have php directory under bin folder of www).

How can I solve this problem?

Please suggest.

Other forums