This is an old revision of the document!

Phusion Passenger / mod_rails

We maintain Ubuntu packages for Phusion Passenger - the Apache 'mod_rails' hosting solution written by the team at Phusion.


Brightbox Passenger APT Repository

Our packages are now hosted on Launchpad. It's focused just on Passenger, so doesn't have our other packages.

You can add our repository very simply:

sudo apt-add-repository ppa:brightbox/passenger
sudo apt-get update

Ubuntu 8.04 Hardy

If you're on the older Ubuntu 8.04 Hardy release, the apt-add-repository command isn't available so you have to install the repository and the key by hand:

sudo sh -c 'echo "deb hardy main" > /etc/apt/sources.list.d/brightbox-passenger.list'
sudo apt-key adv --keyserver --recv-keys C3173AA6
sudo apt-get update


sudo apt-get install libapache2-mod-passenger

And reload apache and you're ready to go.


We have a separate repository for the nginx packages:

sudo apt-add-repository ppa:brightbox/passenger-nginx
sudo apt-get update

Then installed nginx:

sudo apt-get install nginx-full

You’ll then need to enable the Passenger module, which can be usually done like this:

cat <<EOF > /etc/nginx/conf.d/passenger.conf
passenger_root /usr/lib/phusion-passenger;

Ruby Enterprise Edition

To take full advantage of Passenger, you should consider installing our Ruby Enterprise Edition packages.

PHP Compatibility

Whilst Passenger works perfectly with the Apache prefork mpm, we recommend using the event mpm. The event mpm is incompatible with mod_php, but you can very easily run PHP in FastCGI mode alongside Passenger. See our PHP docs for more information.

docs/phusion-passenger.1334317107.txt.gz · Last modified: 2012/04/13 12:38 by johnleach

UK Cloud Server Hosting & Cloud Hosting Providers - Brightbox Cloud

Simple and flexible UK cloud hosting for teams that insist on 100% uptime. Everything you need to deliver fast and highly available apps that delight your customers.

Get started now risk-free with £20 free credit.

Trusted by developers, big brands and people like you

512MB @brightbox cloud instance snapshotted, loaded onto new 2gb instance and cloud ip remapped. All without anyone noticing. ;)

Latest blog posts

Building a scaleable filesystem with S3QL and Orbit

All our Cloud Servers come with resilient local permanent disks, stored on SSDs in a RAID configuration. For periodic backups, you can use our server snapsho...

Read blog post

NixOS on Brightbox Cloud

NixOS is a Linux distribution that is configured using a functional language in a declarative way. I’ve been using it here at Brightbox as my main developme...

Read blog post

Scheduled snapshots for Cloud SQL

We’ve just added a new scheduled snapshots feature to Cloud SQL, our hassle-free MySQL cloud database service. Cloud SQL has always supported manually takin...

Read blog post

More blog posts...

Get started with Brightbox Sign up takes just two minutes...