Anjal,
You can use the DefaultType Directive in Apache to accomplish this. The line you will need to add will be:
DefaultType application/x-httpd-php
What this does is for each file that can not be immediately identified by its file extension (or lack of) will be parsed by PHP. It works really well.
Post back and lut us know how it works.
Thanks,
Joseph