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
-
You open the xampp and find shell command line run your commandMohit Patel– Mohit Patel2020-03-19 16:11:05 +00:00Commented Mar 19, 2020 at 16:11
-
kindly rephrase your answer .i cant get what you are trying to say!nihal malik– nihal malik2020-03-19 16:13:02 +00:00Commented Mar 19, 2020 at 16:13
-
You open the first xampp popup and find shell after goes your magento path and run commandsMohit Patel– Mohit Patel2020-03-19 16:14:51 +00:00Commented Mar 19, 2020 at 16:14
-
@MohitPatel thanks for that suggestion but i want to run it from bashnihal malik– nihal malik2020-03-19 16:22:05 +00:00Commented Mar 19, 2020 at 16:22
-
refer this link :- superuser.com/questions/1238410/…Mohit Patel– Mohit Patel2020-03-19 16:44:49 +00:00Commented Mar 19, 2020 at 16:44
Add a comment
|
2 Answers
Could you check the $PATH variable for the composer. This might may be the reason for the error
Run Magento command in xammp shell
Go to your Magento root directory usind cd command.
Try this link click here
-
its is working from shell but doesnt work from git bashnihal malik– nihal malik2020-03-19 16:23:32 +00:00Commented Mar 19, 2020 at 16:23
-
