Hello All, I currently have a PHP setup for testing scripts and PHP code on my main machine: PHP Apache web server mySQL Can I download the Ruby on Rails package that includes the above mentioned and just install it to the same machine? What is the specific procedure to successfully set up the Ruby on Rails package AND still be able to test my simple PHP scripts on the same machine? Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
atpunkt-TM7Dk29TcfyELgA04lAiVw@public.gmane.org
2007-Sep-04 22:41 UTC
Re: pre-existing PHP, Apache web server, and mySQL setup
Hello there, USUALLY (depends on your experience with rails/apache-setups): - usually you run rails by running Mongrel on port300x - usually you run RoR through an Apache-VirtualHost that''s meant specifically for running the Rails-Application - usually you use Apache to Proxy requests to this Virtualhost through to the Mongrel-server. - usually you can run your php-scripts on another VirtualHost on the same Apache-Installation - by using Rewrite-Statements you could run php-scripts directly in the same Virthost, but I wouldn''t recommend mixing two languages in the same host-setup. - usually you should depart from these setups only if you have the above working and know what you are doing. Please google for "mongrel apache proxy" for more information good luck, phil On 4 Sep., 23:26, rh001 <ontrack...-H+0wwilmMs3R7s880joybQ@public.gmane.org> wrote:> Hello All, > > I currently have a PHP setup for testing scripts and PHP code on my > main machine: > PHP > Apache web server > mySQL > > Can I download the Ruby on Rails package that includes the above > mentioned and just install it to the same machine? > What is the specific procedure to successfully set up the Ruby on > Rails package AND still be able to test my simple PHP scripts on the > same machine? > > Thanks!--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
This would walk you through it and explain why you''re doing every step: http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/ Helzer --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---