Configuring Apache

This should be the final steps to get everything up working nice and sweet. First we need to edit Apache httpd.conf.

1) Look for DirectoryIndex index.html and replace it with DirectoryIndex index.html index.php

2) I wish to set the document root of Apache to my project directory, so that I do not have to copy any files everytime I wish to test my codes. Since I have installed Apache in C:/Project/Apache2211, look for DocumentRoot “C:/Project/Apache2211/htdocs” and replace it with DocumentRoot “C:/Project/“. Of course, substitue with the respective directory where you have created your project in.

3) Look for <Directory “C:/Project/Apache2211/htdocs”> and replace it with <Directory “C:/Project/“>.

That’s it!!

One Response to Configuring Apache

  1. Pingback: Setup Apache, PHP, MySQL «

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s