# Apache + php +rails

**URL:** <https://www.ruby-forum.com/t/apache-php-rails/137347>\
**Category:** Rails\
**Created:** [May 12, 2008, 8:52am UTC](https://www.ruby-forum.com/t/apache-php-rails/137347 "2008-05-12T08:52:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ripan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/df705f/32.png) [@ripan](https://www.ruby-forum.com/u/ripan)\
**Post date:** [May 12, 2008, 8:52am UTC](https://www.ruby-forum.com/t/apache-php-rails/137347/1 "2008-05-12T08:52:56Z")

</div>

Hi everyone.

I am trying to integrate wordpress with rails  
i create php file in the public folder of rails  
whenever i try to open the php file through  
[http://localhost/abc.php](http://localhost/abc.php)

a dialogue box appears instead of displying the contents of the php  
file…  
the dialogue box gives me the option whether to save the file or open  
the file.

can u tel me the reason for the same.
