PHP environment configuration tutorial under Windows7, windows7php_PHP tutorial

WBOY
Release: 2016-07-13 10:05:46
Original
749 people have browsed it

php environment configuration tutorial under Windows7, windows7php

1: Download the package

First go to the php official website to download the program package, the official website address: http://www.php.net/downloads.php

Two: Decompression

Unzip your program package and place it in a directory other than the c drive (the folder is not named in Chinese)

3: Modify the php installation package file

Find "php.ini-development" in the php root directory and modify it to: "php.ini"

Found in php.ini (the following is not set by myself)

Find the following statements and remove the ";" in front of these statements:
Copy code The code is as follows:
;extension=php_gd2.dll
;extension=php_mysql.dll
;extension=php_sockets.dll

Find the following two sentences:

Copy code The code is as follows:
;On windows:
;extension_dir = "ext"

Change the last sentence above to (note removing the preceding semicolon):
Copy code The code is as follows:
extension_dir = "D:php-5.5.7ext" //The directory where you store php

Four: Add environment variables

The environment variable settings of win7 management are similar to those of xp. Right-click [Computer]--[Properties]--[Advanced System Settings] and then select [Advanced]--[Environment Variables] in the system properties

Five: Detect php version number

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/962098.htmlTechArticlePHP environment configuration tutorial under Windows 7, windows7php 1: Download the package First go to the php official website to download the package, official website address : http://www.php.net/downloads.php Two: Unzip and unzip your...
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!