Wamp Detailed installation process sharing

Source: Internet
Author: User
This article mainly and everyone to share the Web service environment Wamp detailed installation process, hope to help everyone.

First step, download and install Apache

    1. Go to official Download Apache

    2. Install Apache: First you can create a Web service environment directory under any drive letter WAMP file name, then create Apache file name under this folder, double-click the downloaded Apache installation package, and then start the installation: Finally specify the directory we have created (drive letter: \wamp\ Apache) is the installation directory. The installation steps are as follows:



      1. After installation, open the browser, enter: localhost, return, if the following prompt indicates that the installation was successful:

        Apache Default Web site root directory in: Apache installation directory/htdocs directory

Step two, download and install the Windows version of PHP and configure Apache to process PHP Web files

    1. Go to official download of the Windows version of PHP

    2. Install the Windows version of PHP, is actually the PHP package decompression, the folder name is changed to PHP and placed in our created directory (drive letter: \wamp\) can be, Then copy the Php.ini-development file from the PHP installation directory to a php.ini PHP configuration file.

    3. Configure Apache to handle files with the suffix. PHP: First to find the Apache configuration file-apache installation directory/conf/httpd.conf, in the file where the module is loaded under-# Dynamic Shared Object (DSO) Support adds the following code:

#加载php语言引擎模块LoadModule  php5_module  "full path to Php5apache2_2.dll files in PHP installation package" Eg:loadmodule  php5_module  "C:/wamp/php/php5apache2_2.dll" #声明所有后缀为. php files are handled by the PHP engine AddType  application/x-httpd-php  . php# Specify the php.ini profile path so that when you configure php.ini, restarting Apache will take effect phpinidir  "c:/wamp/php"
    1. Finally save the configuration file and restart Apache.

    2. Configure the time zone for PHP
      Locate the php.ini configuration file in the PHP installation directory and modify it in the file by locating the [Date] configuration module:
      Data.timezone = PRC. Remember to put the previous comment symbol, remove it, and finally restart Apache to take effect.

Step three, download and install the Windows version of MySQL

    1. Go to official website to download the Windows version of MySQL

    2. To install MySQL, under the Wamp folder that we just started creating, create the MySQL folder as the MySQL installation directory. Unzip the installation package to install the following:














      Click Finish to install.

    3. Load the MySQL module in the php.ini configuration file to access the MySQL database
      In the php.ini configuration file, locate Extension_dir = "ext" to Extension_dir = "C:/wamp/php/ext". Specify the path where the PHP module resides
      Then find Extension=php_mysql.dll the previous comment symbol, remove it, and finally restart Apache to take effect.

At this point, the WAMP site server environment is basically built!

Related Article

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.