Set up web-server on Windows

Posted by saurabh On March - 14 - 2009
        ('DiggThis)           SocialTwist Tell-a-Friend     
VN:F [1.9.1_1087]
Rating: 0 (from 0 votes)

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)

  1. Install apache 2.2.3
  2. Install php 5.2.1 
  3. Install mysql 4.1
  4. Install phpMyAdmin

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

VN:F [1.9.1_1087]
Rating: 0 (from 0 votes)
-->
71 views ;  TAGS: , ,
Related Posts:
  • DNS and DNS Server
  • Install apache 2.2.3
blog comments powered by Disqus

There is nothing lost or wasted in this life. — Bhagvad Gita