PHP Environment Configuration Tutorial under Windows7, windows7php
One: Download package
First to the PHP official website download package, official website address: http://www.php.net/downloads.php
Two: Unzip
Unzip your package and place it in a directory other than the C drive (the folder is not named in Chinese)
Three: Modify the PHP installation package file
Locate "Php.ini-development" in the PHP root directory and modify it to: "PHP.ini"
Found in php.ini (not set by yourself below)
Locate the following statements, and ";" the preceding statements Remove:
Copy the Code code as follows:
; Extension=php_gd2.dll
; Extension=php_mysql.dll
; Extension=php_sockets.dll
Find the following two sentences:
Copy the Code code as follows:
; On Windows:
; extension_dir = "ext"
Replace the previous sentence (note the preceding semicolon):
Copy the Code code as follows:
Extension_dir = "D:\php-5.5.7\ext"//directory where you store PHP
Four: Add into the bad environment variable
Win7 environment variable setting is similar to XP, right-click on "Computer"--"properties"--"Advanced system Settings" and then select "Advanced"-"environment variable" in the System properties
V: Detect PHP Version number
http://www.bkjia.com/PHPjc/962098.html www.bkjia.com true http://www.bkjia.com/PHPjc/962098.html techarticle Windows7 under the PHP Environment Configuration tutorial, windows7php: Download the package first to the PHP official website to download the package, the official website address: http://www.php.net/downloads.php Two: Decompression unzip your ...