In Windows 7, the php environment Configuration tutorial is Windows 7 php. For the php environment Configuration tutorial in Windows 7, windows7php 1: download the package first, go to the php official website to download the package. Official Website address: www. php. netdownloads. php 2: decompress and decompress the php environment Configuration tutorial in Windows 7.
1. download the package
First download the package to the php official website, the official website address: http://www.php.net/downloads.php
II. decompression
Decompress your package and place it in the directory except drive C (the folder is not named in Chinese)
3. modify the php installation package file
Find "php. ini-development" in the php root directory and change it to "php. ini"
Found in php. ini (The following is not set)
Find the following statements and remove the ";" before these statements:
The code is as follows:
; Extension = php_gd2.dll
; Extension = php_mysql.dll
; Extension = php_sockets.dll
Find the following two sentences:
The code is as follows:
; On windows:
; Extension_dir = "ext"
Change the last sentence to (remove the semicolon ):
The code is as follows:
Extension_dir = "D: \ php-5.5.7 \ ext" // Your php Directory
4. add the environment variable
The environment variable settings for win7 are similar to those for xp. right-click computer> Properties> Advanced system settings and choose advanced> environment variable from system properties]
V. php version check
Download package first to the php official website download package, official website address: http://www.php.net/downloads.php two: unzip your...