Novice how to build the Wamp (PHP) Development Environment under window Wamp offline Wampfler wamp1.

Source: Internet
Author: User
For beginners, setting up the environment is a very tangled matter, because many do not understand, will be due to build a bad environment and affect the continued enthusiasm. Let's talk a little bit about the construction process.

First, download wampserver this software, installation steps nothing to say, according to the next, and the installation location is best to record, it is best to install in their usual working software disk, such as the author is installed in the D disk;

Second, install the download code working environment, such as NetBeans IDE, new project, of course, similar to thinkphp framework, such as the best

Third, open the Wampserver software, at this time if the software can be run and the status of green, it means that the environment is fully OK, in case of special circumstances, such as the 80 port under the Win7 is occupied, it will show non-green, at this time to see if it is occupied and continue the following operation,

Iv. Open Wampserver below the Apache httpd.conf, in the file permissions to add

#你的工作目录地址

Options Indexes MultiViews
AllowOverride None
Order Allow,deny
Allow from all

Then remove the # conf/extra/httpd-vhosts.conf in front of the include, this file is the place to configure your normal site

Five, the configuration httpd-vhosts.conf before the fourth step to say the include file configuration is as follows, very good understanding


DocumentRoot "E:/www/tpjui"
ServerName www.tpjui.com

This configuration is a local URL directory, remember to restart Apache after configuration modification, that is, restart Wampserver Restart all services can be

Vi. Modifying the local host point

C:\Windows\System32\drivers\etc\hosts

Modify this corresponding directory, as in the example above: 127.0.0.1 www.tpjui.com

Seven, good-looking, open the browser, enter your URL, to see if it is in effect

The End

The above describes how to build the Wamp (PHP) Development environment under window, including the content of Window,wamp, I hope to be interested in the PHP tutorial friends helpful.

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