Can i run php/mysql sites and RoR on the same box?

hi, im just starting learning ruby on rails… and plan to create a web
app this year. im about to commit to a new apache server (nothing
special - just a ‘pizzabox’) running fedora core 4 / mysql. this is
for existing php/mysql sites. question is… id obviously like to
install them both at the same time… so i can run ruby-on-rails sites,
and plain php sites from the same box. seems like an obvious
question… but as with obvious questions… they often get
overlooked :slight_smile:

there is a lot of detailed instructions about various server
configurations… such as:

http://digitalmediaminute.com/howto/fc4rails/
http://mongrel.rubyforge.org/index.html

speed… at the mo is no important. just that it works. the box is 3ghz
athlon 64/1gb and all the rest are using very little overhead.

any advice? i can do ssh/CLI and install modules etc. im not great…
but i get there.

any help appreciated.

a./

I can’t see any issues here. If you’re using apache2 you can use
mod_proxy/balance to pass requests for a specified virtual host on to
a mongrel cluster. Look at http://mongrel.rubyforge.org/docs/
apache.html for details on this.

As for deploying and maintaining, check out Capistrano (http://
Peak Obsession or Google: deploying rails
capistrano).

Hope that helps,

Steve