PHP Environment Configuration Tutorial under Windows7, windows7php_php tutorial

Source: Internet
Author: User

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 ...

  • 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.