Home >Backend Development >PHP Tutorial >Set php environment variables in windows

Set php environment variables in windows

不言
不言Original
2018-06-05 09:13:1948510browse

This article mainly introduces about setting PHP environment variables in Windows. It has certain reference value. Now I share it with everyone. Friends in need can refer to it

1. My Computer-》Right-click ( Select My Properties)


2. Click Advanced Settings


3. Click Environment Variable


4. Find Path in the system variable and click


5. Find php .exe file directory, add it to the path


6.php -v displays the version, indicating success


Related recommendations:

Configuring PHP environment variables in windows

The above is the detailed content of Set php environment variables in windows. For more information, please follow other related articles on the PHP Chinese website!

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