php is not recognized as an internal or external command

Posted on 16th Feb 2014 07:03 pm by admin


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.

No comments posted yet

Your Answer:

Login to answer
79 Like 11 Dislike
Previous forums Next forums
Other forums

php automatically escaping single quotes
I'm trying to test out my security a bit and I've noticed that php is escaping my single quotes. For

weeks in a year

i found this snippet on
QuoteFor the week number for weeks starting on Sunday:

Changing color in GD via variable?
Hey guys, I'm new here. x)

I'm very much a noob when it comes to PHP, but I'm trying to learn

PHP using IF to display error
i have a MySQL query and i want to display 1 thing only if the number of affected rows is >=1

How do i use vars in an array
Hiya peeps!

How do I use a var in an array. You will see $id but it isnt working.

Printing a webpage
I use this to print the webpage: o

Generate PDF
Hi guys,

I would like to know if there is a way to generate pdf when clicking on a link. In f

How many users online in the last 24-hours using time()?
I'm fairly new to PHP. I have a MySQL table called 'users' and a field called 'loggedin' which is in

Simultaneous select/update/insert

How would I need to go about when 2 users update a single row simultaneous? And how would

Embedding flash object in Else statement
This is my first major project in PHP and I'm having some trouble embedding a flash object in an Els

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS

Play Free Quiz and Win Cash