Php environment Configuration tutorial in Windows 7 and windows7php_PHP

Source: Internet
Author: User
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...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.