apache
Installing PHP4 and PHP5 concurrently on Ubuntu and Apache2
Submitted by greg on Thu, 02/15/2007 - 00:37I came across ezPublish as a possible nice CMS for use in a couple projects I'm working on, but stumbled when it required PHP4. Rather than downgrading my full Apache2 instance just to test the app, I decided to get both 4 and 5 working on my Ubuntu laptop. Seem to be various ways to do it, but the best (er, first) I found was Windows-specific, so in the interests of fair-n-balanced, here's how I did it on my machine.
Rails & Subdirectories
Submitted by greg on Mon, 02/05/2007 - 21:23I spent part of this morning fighting with Rails, trying to get a quick app I wrote hosted below an existing app. It should have been simple, but getting the various pieces cooperating took longer than it should have. The solution is to use the --prefix argument to mongrel_rails. Here's how I got it going:
Scenario:
RailsApp1 hosted as mysite.com/
RailsApp2 hosted as mysite.com/myapp2
Both apps served via Apache 2.0 + mongrel + pen on Debian Sarge
Scripts:
