0

I have tried installing Yii2 with PhpStorm UI and I always get the same error

enter image description here

enter image description here

I always get the same error about git was not found.

I do have git installed with github and it is not configured to run from the shell. I have specified the correct git.exe path in PhpStorm settings but still have this issue.

1 Answer 1

2

You do not have git available in the $PATH scope.

Most probably you do not have Git install. Download Git and install it, then try to update your dependencies.

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

5 Comments

I do have the git installed, but it is not configured as environment variable. I can commit through phpStorm and GitHub for windows. Is there a way to avoid adding git to environment variables ?
I don't have any other good idea to avoid this problem. Why don't you want to add Git to env vars? stackoverflow.com/questions/20169348/…
I added git. Now when I type git in command prompt it does work. In phpstorm I still get the same error. This is probably some other issue. I don't have any clues.
The problem was that my antivirus was blocking connection to github from PhpStorm. Thank you for your time!!

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.