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!!


