Рет қаралды 16,535
When you run a command for a program in command line, it looks for the corresponding executable files using the directories listed in your computer or server’s PATH variable. The PATH variable is one of many Environment Variables your system uses.
Given this, when you add a new command line program to your computer, you have to add its directory to your PATH variable.
In the following instructions, I will demonstrate this process by adding the PHP executable that comes with XAMPP to my PATH, but the steps would be the same for whatever program you’re trying to configure.
NOTES: codewithsusan.com/notes/path-...
=== CHAPTERS ===
00:00 Introduction
00:40 See current contents of the PATH variable
01:17 Adding a new path
02:44 Test it worked