# Ruby on rails wth php

**URL:** <https://www.ruby-forum.com/t/ruby-on-rails-wth-php/146569>\
**Category:** Rails\
**Created:** [August 22, 2008, 12:32pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-wth-php/146569 "2008-08-22T12:32:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![redster](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/839c29/32.png) [@redster](https://www.ruby-forum.com/u/redster)\
**Post date:** [August 22, 2008, 12:32pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-wth-php/146569/1 "2008-08-22T12:32:07Z")

</div>

Hi all,

if any one help me.

how to run php programs on ruby on rails.  
how to run php programs on rails.

if possible or not pls give me instructions.

Thanks  
karthik

---

<div class="post-metadata">

**Author:** ![redster](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/839c29/32.png) [@redster](https://www.ruby-forum.com/u/redster)\
**Post date:** [August 22, 2008, 12:41pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-wth-php/146569/2 "2008-08-22T12:41:15Z")

</div>

On 22 Aug 2008, at 11:32, Murali M. wrote:

> Hi all,
> 
> if any one help me.
> 
> how to run php programs on ruby on rails.  
> how to run php programs on rails.
> 
> if possible or not pls give me instructions.

Not sure what you mean there. You want to call php code from ruby or  
you want some pages on your site to be php and some rails (eg a rails  
website with a blog section that was run by wordpress) ?

Fred

---

<div class="post-metadata">

**Author:** ![redster](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/839c29/32.png) [@redster](https://www.ruby-forum.com/u/redster)\
**Post date:** [August 22, 2008, 12:48pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-wth-php/146569/3 "2008-08-22T12:48:06Z")

</div>

Frederick C. wrote:

> On 22 Aug 2008, at 11:32, Murali M. wrote:
> 
> > Hi all,
> > 
> > if any one help me.
> > 
> > how to run php programs on ruby on rails.  
> > how to run php programs on rails.
> > 
> > if possible or not pls give me instructions.
> 
> Not sure what you mean there. You want to call php code from ruby or  
> you want some pages on your site to be php and some rails (eg a rails  
> website with a blog section that was run by wordpress) ?
> 
> Fred

hi

i want create new project on php with ruby on rails. (or) php with  
rails. if anything possible pls let me know.

thanks  
karthik

---

<div class="post-metadata">

**Author:** ![redster](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/839c29/32.png) [@redster](https://www.ruby-forum.com/u/redster)\
**Post date:** [August 22, 2008, 1:36pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-wth-php/146569/4 "2008-08-22T13:36:26Z")

</div>

On Fri, 2008-08-22 at 12:48 +0200, Murali M. wrote:

> hi
> 
> i want create new project on php with ruby on rails. (or) php with  
> rails. if anything possible pls let me know.

Heard of a thing called, “google”? I don’t really know, what you are  
doing with Ruby on Rails, but if you are old enough to have a job doing  
Ruby on Rails, you should do more research before asking such stupid  
questions.

Please read following document very carefully:

[http://www.catb.org/~esr/faqs/smart-questions.html](http://www.catb.org/~esr/faqs/smart-questions.html)

---

<div class="post-metadata">

**Author:** ![redster](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/839c29/32.png) [@redster](https://www.ruby-forum.com/u/redster)\
**Post date:** [August 23, 2008, 4:14am UTC](https://www.ruby-forum.com/t/ruby-on-rails-wth-php/146569/5 "2008-08-23T04:14:11Z")

</div>

I have gotten so far from your post that you want to use php but get the  
rails experience. The closest I have found to php on rails is a  
framework for php called Akelos which can be found here

> **[Bermi Labs](https://bermilabs.com)**
>
> Software engineering and design company specialized in e-commerce

Last I used it, it was about as close to a port of rails to php as I  
have seen. Unfortunately, it can’t prevent php from being an ugly  
language in places but it is better than nothing.

---

<div class="post-metadata">

**Author:** ![redster](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/839c29/32.png) [@redster](https://www.ruby-forum.com/u/redster)\
**Post date:** [August 22, 2008, 2:13pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-wth-php/146569/6 "2008-08-22T14:13:21Z")

</div>

On 22 Aug 2008, at 11:48, Murali M. wrote:

> > > if possible or not pls give me instructions.
> > 
> > Not sure what you mean there. You want to call php code from ruby or  
> > you want some pages on your site to be php and some rails (eg a rails  
> > website with a blog section that was run by wordpress) ?
> 
> i want create new project on php with ruby on rails. (or) php with  
> rails. if anything possible pls let me know.

You do realise that rails is a framework written in ruby, so pretty  
much by definition if you’re using rails you’re not using php? (but  
like i said, with the caveat that you could have 2 entirely separate  
apps that just happen to be hosted on the same domain)

Fred

---

<div class="post-metadata">

**Author:** ![redster](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/839c29/32.png) [@redster](https://www.ruby-forum.com/u/redster)\
**Post date:** [August 24, 2008, 3:36am UTC](https://www.ruby-forum.com/t/ruby-on-rails-wth-php/146569/7 "2008-08-24T03:36:42Z")

</div>

Now that’s not very nice, but somehow I find myself sympathizing.

The OP is obviously being very vague about what they want to do,  
perhaps if they stated why they wanted to use PHP with Ruby on Rails,  
maybe we could help them.
