![]() Click the "Browse." button and select your PHP directory.Find the PATH variable under "System variables", select it, and then click "Edit".Select the "Advanced" tab (if this has not yet been done) and click "Environment variables.". ![]() Hold down the Windows button, type environment, and open "Edit the system environment variables".Now that we know what an environment variable is, let’s add our PHP directory to the PATH variable. ![]() One of the most well-known environment variables is PATH, which specifies the directories in which executable programs are located on the machine that can be started, without knowing, and typing the whole path to the file on the command line. Let’s first learn about environment variables:Įnvironment variables store various values related to the current environment, like the operating system or the user session. Last but not least, we want to be able to use PHP anywhere from the CLI. Step 3: Add PHP to the PATH environment variable
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |