Home >Backend Development >PHP Tutorial >Set php environment variables in windows
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!