I have configured Apache, php, MySQL in my local machine.
Later I installed phpbb3 in a folder "forum"

When I point the browser to http://localhost/forum , the browser shows directory listing instead of showing http://localhost/forum/index.php

when I installed wordpress, the same issue occuring... can any one got any explanation for it.

Can anyone help me to resolve it??

Thanks in advance