No matter whether we use domestic space or foreign hosts, we prefer to go online after local debugging before setting up the website. In the past, we only need to load IIS components in the installation disk to debug the local ASP environment. However, in recent years, PHP has gradually become the mainstream language. Whether we choose domestic dedecms or foreign WordPress programs, we all use PHP + MySQL framework.
In the past, it was very troublesome for us to build a PHP environment locally. We had to install and debug each process, just like we installed the computer. We used the original installation package or ghost to install it. At present, third-party well intentioned people in the market have made quick debugging tools for one click installation, such as phpnow and wampserver that I am using.
First, we download the wampserver tool software: Download
Secondly, download to the local decompress and install wampserver2.2a-x32.exe step by step. Generally, the default is in the Wamp folder on disk D.
Finally, if we need to build a website, we just need to put our program into the Wamp www folder. We can use the secondary directory or the root directory.
Visit home address: http://localhost Or http://127.0.0.1
If we need to use it, just turn it on. There will be a green icon in the lower right corner of the computer.