Select a correct Wamp installer
There are many different wamp installers to choose from. Some of the better are: Appserv,easywamp,foxserv, Phpdev, PHP Triad, TYPO3 WAMP Installer (including memory management system programs) and Wampserver. The following will show you how to use Appserv.
How to install Appserv
1. After downloading Appserv from SourceForge.net, double-click to run.
2. Agree to the license agreement and select the directory where you need to install the software.
3. It is recommended that all four items be installed: apache,mysql,php and phpMyAdmin. The only one that is not required is phpmyadmin, but it is useful.
4. Since this is to establish a test server, the name of the server is "localhost" and the administrator's e-mail address is "Admin@localhost". The port can use default values.
5.MySQL defaults to a blank root password, but this is obviously very unsafe. So set a secure password that is easy to remember and click Install.
The 6.AppServ will run through Apache,mysql and PHP throughout the system installation process.
7. Start Apache and MySQL with Appserv, then you can browse http://localhost/to view your new page.
Set up your Wamp server
Appserv will put all your pages in the "DocumentRoot"--Located in the Appserv directory in the WWW subdirectory. The default path is "C:/appserv/www".
It is recommended that you change this path so that your test server is closer to other Web folders. How to change the path of your server? as follows:
1. Opening httpd.conf in a text editor will find the httpd.conf folder in the appleservice/apache2.2/conf directory.
2. Search for the keyword "DocumentRoot" in this folder.
3. Place the hash sign (#) at the beginning of the DocumentRoot. This allows you to annotate this line.
4. Write a new line:
Document Root "full path to your Web site Directory"
5. Then continue to write:
﹤directory "C:/progra~1/appserv/www" ﹥
and change the path in the DocumentRoot path quotation marks.
6. Restart Apache (open Start menu → program →appserv→ select "Restart Apache")
If you want to run phpMyAdmin on your server, you need to copy the phpMyAdmin folder from the Appserv/www folder to your new Documentationroot folder. Log in with the root username and the password you have previously set.