Setting up a web-server on Windows XP/Windows Vista is very easy.
Windows operating system also supports apache web server apart from IIS.
Apache is an open source web server, and you can run the installation file after downloading it.
After you have successfully installed apache, you can install ‘php’. php is a very common open source scripting language which can be used for developing dynamic web-sites.
MySQL is an open source database that is a basic requirement if you are thinking of designing a dynamic website. However there are many other database suites that could be used.
phpMyAdmin is GUI to manage your database in MySQL.
Install WAMP (Windows Apache MySQL PHP)
Default username for MySQL is ‘root’.
By default, you have to store all your web-pages in ‘Apache/htdocs’ folder.
However you can change the location of your default web-server root folder.
Change web-server root directory
- Go to the directory where apache is installed.
- Open ‘httpd.conf’ from ‘/conf/’ folder.
- Search for ‘DocumentRoot’ and change the path.
C:/Web Server/www
- Search for ‘<Directory’ and change the path.
<Directory "C:/Web Server/www">
- Save and close the file.
- Go to the directory where php is located.
- Search for ‘doc_root=’ and change the path.
- Save and close the file.
doc_root=C:/Web Server/www
- Restart apache
For any query please send email to saurabh(at)techwhiz(dot)in







