0
C:\>php tools\spark install -v1.0.0 example-spark
'php' is not recognized as an internal or external command,
operable program or batch file.

Why is this so? What are the things I need to do for me to execute this command? Please help. Thanks a lot

enter image description here

3 Answers 3

1

You need to add PHP to your Windows PATH variable. You can read a good explanation of how to do this in the PHP manual.

Sign up to request clarification or add additional context in comments.

Comments

0

http://www.skylit.com/javamethods/faqs/javaindos.html but use your php directory instead

Comments

0

I just change my environment variables in the control panel->perfromance and maintenance->system->advance and click environment variables and edit the path to C:\wamp\bin\php\php5.4.3

enter image description here

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.