Home  >  Article  >  Backend Development  >  Configure PHP environment variables in windows

Configure PHP environment variables in windows

WBOY
WBOYOriginal
2016-07-25 08:59:113010browse
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 .



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn