Installing Phusion Passenger on Centos With a Custom Apache2
Posted by Dave Hrycyszyn 21st July 2008 in Head LabsWe're currently running Apache2 on an old (and very stable) version of CentOS. It's so ancient it didn't come with Apache 2, so we've got it installed from source. Today we're making the big move to running our Rails apps on Phusion Passenger (a.k.a mod_rails), but we ran into some problems with the compilation of the Apache module, mainly because passenger-install-apache2-module couldn't figure out where any of the Apache development headers were. It's a great installer but it can't magically figure out where Apache's keeping its development headers.
The solution was pretty simple, extracted from here and boiled down, it's:
-
export APXS2=/usr/local/apache/bin/apxs
-
export APR_CONFIG=/usr/local/apache/bin/apr-1-config
You may need to change the path depending on where you've got Apache installed.
Search
Categories
- Thoughts
(19)
- News
(30)
- Head Labs
(13)
- Project launch
(10)
- Life at Head
(10)
Monthly Archives
- January 2009 (1)
- December 2008 (3)
- November 2008 (4)
- September 2008 (1)
- August 2008 (1)
- July 2008 (1)
- June 2008 (1)
- May 2008 (2)
- March 2008 (1)
- February 2008 (1)
- January 2008 (1)
- November 2007 (2)
- August 2007 (1)
- May 2007 (2)
- April 2007 (5)
- March 2007 (11)
- February 2007 (10)
- January 2007 (4)
- November 2006 (2)
- September 2006 (4)
- August 2006 (1)
- July 2006 (1)
- June 2006 (3)
- May 2006 (1)
- April 2006 (3)
- March 2006 (7)
- February 2006 (5)
- January 2006 (1)
- November 2005 (1)
No Responses to “Installing Phusion Passenger on Centos With a Custom Apache2”
Please Wait
Leave a Reply