Answer the question
In order to leave comments, you need to log in
How to launch applications from the PhpStorm terminal that are not in the Windows PATH variable?
I have in a separate folder portable PhpStorm, portable Git and portable OpenServer inside which PHP and Composer that I use.
I want to run the same git and composer from the PhpStorm terminal. How to implement it? From what I understand PHP Storm terminal just runs cmd.exe. How to slip the necessary paths to him, similarly to PATH without writing anything to PATH itself?
I don't want to write to PATH, because often these files (programs) travel along with projects. And everywhere on all PCs I would not want to edit PATH.
Answer the question
In order to leave comments, you need to log in
In order for phpStorm to know about the OpenServer environment, you need to create a bookmark on phpStorm in the OpenServer settings and launch the IDE through this bookmark.
open-server.ru/forum/viewtopic.php?f=1&t=1943
For Git, it is enough to specify the path to git.exe in the phpStorm settings.
www.jetbrains.com/phpstorm/help/git.html?search=git
Settings -> Version Control -> Git
Parameter Path to executable
Settings -> Languages & Frameworks -> PHP -> Composer
Parameter Path to composer
+ You can create batch files in the root of the disk with links to php and to git to write short paths =)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question