# Can RoR work togehter with PHP

**URL:** <https://www.ruby-forum.com/t/can-ror-work-togehter-with-php/53149>\
**Category:** Rails\
**Created:** [January 26, 2006, 6:08pm UTC](https://www.ruby-forum.com/t/can-ror-work-togehter-with-php/53149 "2006-01-26T18:08:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Janis\_Lanka](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ecd19e/32.png) [@Janis\_Lanka](https://www.ruby-forum.com/u/Janis_Lanka)\
**Post date:** [January 26, 2006, 6:08pm UTC](https://www.ruby-forum.com/t/can-ror-work-togehter-with-php/53149/1 "2006-01-26T18:08:45Z")

</div>

Can PHP and Ruby on Rails work together? basically, if we decide that we  
want to build some additions to php product in RoR…can it be done?

---

<div class="post-metadata">

**Author:** ![Janis\_Lanka](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ecd19e/32.png) [@Janis\_Lanka](https://www.ruby-forum.com/u/Janis_Lanka)\
**Post date:** [January 26, 2006, 6:10pm UTC](https://www.ruby-forum.com/t/can-ror-work-togehter-with-php/53149/2 "2006-01-26T18:10:49Z")

</div>

Janis Lanka wrote:

> Can PHP and Ruby on Rails work together? basically, if we decide that we  
> want to build some additions to php product in RoR…can it be done?

The WIKI has an example of someone integrating RoR into PHPBB. It may  
provide some useful information.

[http://wiki.rubyonrails.com/rails/pages/PhpBB+Integration](http://wiki.rubyonrails.com/rails/pages/PhpBB+Integration)

---

<div class="post-metadata">

**Author:** ![Janis\_Lanka](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ecd19e/32.png) [@Janis\_Lanka](https://www.ruby-forum.com/u/Janis_Lanka)\
**Post date:** [January 26, 2006, 9:37pm UTC](https://www.ruby-forum.com/t/can-ror-work-togehter-with-php/53149/3 "2006-01-26T21:37:00Z")

</div>

Janis Lanka wrote:

> Can PHP and Ruby on Rails work together? basically, if we decide that we  
> want to build some additions to php product in RoR…can it be done?

We have setup rails web host to run as the default, however if a PHP  
file extension is found or the index of a folder under /public contains  
an index.php file then the server will run PHP instead of ruby.

[http://masterwebdesign.net/services/web\_hosting\_solutions/](http://masterwebdesign.net/services/web_hosting_solutions/)

---

<div class="post-metadata">

**Author:** ![Janis\_Lanka](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ecd19e/32.png) [@Janis\_Lanka](https://www.ruby-forum.com/u/Janis_Lanka)\
**Post date:** [April 18, 2006, 5:37pm UTC](https://www.ruby-forum.com/t/can-ror-work-togehter-with-php/53149/4 "2006-04-18T17:37:04Z")

</div>

Dallas Pool wrote:

> Janis Lanka wrote:
> 
> > Can PHP and Ruby on Rails work together? basically, if we decide that we  
> > want to build some additions to php product in RoR…can it be done?
> 
> We have setup rails web host to run as the default, however if a PHP  
> file extension is found or the index of a folder under /public contains  
> an index.php file then the server will run PHP instead of ruby.
> 
> [http://masterwebdesign.net/services/web\_hosting\_solutions/](http://masterwebdesign.net/services/web_hosting_solutions/)

Can you supply details on how you configured your server to do this?

I would appreciate any help.

Thanks,

James
