rails + Apache + php

Hi .. I am trying to integrate word press with rails I created php file in public folder of rails........... Whenever i try to open that file.... using http://localhost/abc.php

a dialogue box appears ...but i want the php file to b opened.

Can anyboy tel me the solution why i am getting a dislogue box instead of the printed contents of php file


I'll take a guess and say you're trying to serve PHP files from a server that doesn't support serving PHP files.