0

I've installed magento2 on my localserver and when I use PHP bin/Magento c:c for cache cleaning its saying bash: PHP: command not found. Thanks in advance

5
  • You open the xampp and find shell command line run your command Commented Mar 19, 2020 at 16:11
  • kindly rephrase your answer .i cant get what you are trying to say! Commented Mar 19, 2020 at 16:13
  • You open the first xampp popup and find shell after goes your magento path and run commands Commented Mar 19, 2020 at 16:14
  • @MohitPatel thanks for that suggestion but i want to run it from bash Commented Mar 19, 2020 at 16:22
  • refer this link :- superuser.com/questions/1238410/… Commented Mar 19, 2020 at 16:44

2 Answers 2

2

Could you check the $PATH variable for the composer. This might may be the reason for the error

0

enter image description here

Run Magento command in xammp shell

Go to your Magento root directory usind cd command.

Try this link click here

2
  • its is working from shell but doesnt work from git bash Commented Mar 19, 2020 at 16:23
  • Check added link
    – Msquare
    Commented Mar 19, 2020 at 16:27

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.