Home > Article > Backend Development > Configure PHP environment variables in windows
This article introduces how to configure PHP environment variables in Windows. Friends in need can refer to it.
PHP adds environment variables Unzip php, for example, to "D:/php". Then, right-click "My Computer"->"Properties"->select the "Advanced" tab->click "Environment Variables". Click "Path" in the "System Variables" list below -> Click "Edit" below -> Add ";D:/php" (php decompression path, don't forget to add " first" at the end of "Variable Value" ;" number) Click the "New" button in front of the "Edit" button -> Enter "PHPRC" after "Variable Name" -> Enter "D:/PHP" (PHP decompression path) for "Variable Value" -> Click "OK" to complete . |