How do novices set up a wamp (php) development environment under window wamp offline wampfler wamp1.

WBOY
Release: 2016-07-29 08:55:04
Original
1101 people have browsed it

For beginners, setting up an environment is a very tangled thing, because many people who don’t understand it will affect their enthusiasm to continue because they don’t build the environment well. Let’s briefly talk about the building process;

1. Download the WampServer software , there is nothing to say about the installation steps, click Next, and it is best to record the installation location. It is best to install it on your usual work software disk; for example, the author installed it on the D drive;

2. Install and download the code working environment, such as NetBeans IDE , create a new project, of course similar to the thinkphp framework, etc.

3. Open the wampserver software. If the software can run and the status is green, it means that the environment is completely OK. In case of special circumstances, such as port 80 under win7 is occupied , it will display non-green. At this time, you need to check whether it is occupied and continue with the following operations.

4. Open apache's httpd.conf under wampserver and add

to the file permissions.

#Your working directory address

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

Remove the # in front of Include conf/extra/httpd-vhosts.conf, This file is where you configure your usual site

5. Configure httpd-vhosts.conf The included file configuration mentioned in the fourth step is as follows, it is easy to understand


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

This configuration is a local URL directory. Remember to restart apache after modifying the configuration, that is, restart wampserver and restart all services

6. Modify the local host Point to

C:WindowsSystem32driversetchosts

to modify the corresponding directory, as in the above example: 127.0.0.1 www.tpjui.com

7. It looks good. Open the browser and enter your URL to see if it takes effect

The End

The above introduces how novices can build a wamp (php) development environment under window, including the content of window and wamp. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
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!