I'm new to ruby and rails and, after some inital success, I've hit a
bit of a roadblock. I'm setting up a community-based site which will
include a forum. I'm thinking of using PunBB for this but I dont
understand just how I can get a php app running within my rails app.
Like how can I get php code to run on the rails server???
Ideally, I'd like the user to be able to click the 'forum' link and
then for the punBB code to display within the page's view.
Can anybody tell me if this is possible? Any help would be
appreciated, thanks.
I'm new to ruby and rails and, after some inital success, I've hit a
bit of a roadblock. I'm setting up a community-based site which will
include a forum. I'm thinking of using PunBB for this but I dont
understand just how I can get a php app running within my rails app.
Like how can I get php code to run on the rails server???
Ideally, I'd like the user to be able to click the 'forum' link and
then for the punBB code to display within the page's view.
Can anybody tell me if this is possible? Any help would be
appreciated, thanks.
well y u want to integrate punbb u can integrate caboo(beast) forum or
eldorado or rforum which is built on rails..thats a better
option..unless there is some specific reason y u want to use punbb
I'm new to ruby and rails and, after some inital success, I've hit a
bit of a roadblock. I'm setting up a community-based site which will
include a forum. I'm thinking of using PunBB for this but I dont
understand just how I can get a php app running within my rails app.
Like how can I get php code to run on the rails server???
Well mongrel etc... won't serve php for you, but it's not hard with
apache, nginx etc... to have one vhost pointing at your rails app and
another at your php app.
I was thinking this way myself. However can I call pages to be
included on a page which are located on a seperate server? For
example, imagine my rails app held stuff like venue information but
then my forums was hosted on another server (or port when working
locally). So could I use something like this:
Well mongrel etc... won't serve php for you, but it's not hard with
apache, nginx etc... to have one vhost pointing at your rails app and
another at your php app.
Fred
I was thinking this way myself. However can I call pages to be
included on a page which are located on a seperate server? For
example, imagine my rails app held stuff like venue information but
then my forums was hosted on another server (or port when working
locally). So could I use something like this:
Not out of the box you can't. I suppose you could manually invoke the
php executable, but you might find you have to do quite a lot of
fiddling around in order to setup the environment (all the stuff that
apache would normally do for you).
See, I'd have little issue with using Beast only I'm finding it
particularly difficult to install. I've gone through all the usual
steps suggested but get error 500 when trying to view it. Guess I'll
just give it another shot...