How to set up php environment variables in win7

藏色散人
Release: 2023-03-11 20:02:02
Original
2664 people have browsed it

How to build php environment variables in win7: 1. Find the installation path of the php.exe file and copy the path; 2. Enter "System Properties"; 3. Click "Environment Variables"; 4. In "System Variables" Find "Path"; 5. Paste the copied path; 6. Check the PHP version number.

How to set up php environment variables in win7

## The operating environment of this article: Windows 7 system, PHP version 7.1 , DELL G3 computer

win7 How to set up php environment variables?

Set PHP environment variables in Windows 7

    Required preparation
  • Start setting PHP environment variables
Required preparation

必须先安装好 PHP
Copy after login

Start setting PHP environment variables

    Find the php.exe file installation path and copy the path
  1. Desktop-> My Computer-> Right Click-> Properties-> Select advanced system settings, enter "System Properties"
  2. Select the "Advanced" tab-> Click "Environment Variables"
  3. In "System Variables" )" find "Path"
  4. Paste the path copied in the first step (note: each path is separated by English semicolons)
  5. Win R Enter cmd or use Git Bash, enter php -v to display the php version number and the setting is complete
Recommended learning: "

PHP Video Tutorial"

The above is the detailed content of How to set up php environment variables in win7. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template