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.