It has only been two days since the initial release of Phusion Passenger for Nginx, and it has already exceeded our wildest expectations. Only minutes after publishing the announcement, hundreds of people visited our blog. Our bandwidth usage skyrocketed and was heavily utilized for quite some time. There were hundreds upon hundreds of tweets. Thank you all for your enthusiasm! 🙂

Shortly after the release, the first bug reports came in. Some people were having compilation problems. We know that many of you are eager to try Phusion Passenger for Nginx, and we don’t want to keep you waiting, so we’ve made it a priority to get this bugfix release out of the door as soon as possible.

Today, we proudly present Phusion Passenger 2.2.1! The changes are as follows:

Fixed compilation errors caused by warnings. Some people on 64-bit Linux platforms might experience this. Issue #249.

Fixed http_rewrite_module support. The installer was supposed to only deactivate it if PCRE is not installed, because rewrite_module depends on PCRE. Because of a typo it disabled rewrite_module even if PCRE is installed. Fixes issue #251.

Fixed Nginx 0.7 support. Issue #252.

Phusion Passenger 2.2.0 actually supports an older version of Nginx 0.7, but it seems that recent Nginx releases broke it again. The 0.7 series of Nginx is changing rapidly, so we’ve decided to only support the latest version of the 0.7 series.

So if you’re running Nginx 0.7.x, and Phusion Passenger doesn’t compile correctly, then please check whether you’re running the latest version of the 0.7 series.

How do I upgrade to 2.2.1?

Via a gem

Please install it with the following command:

gem install passenger

Next, run:

passenger-install-apache2-module

or

passenger-install-nginx-module

Please don’t forget to copy & paste the Apache/Nginx config snippet that the installer gives you.

Via a native Linux package

John Leach from Brightbox has kindly provided an Ubuntu 8.04 package for Phusion Passenger. The package is available from the Brightbox repository which you can find

at:

http://apt.brightbox.net

Add the following line to the Third Party Software Sources:

deb http://apt.brightbox.net hardy main

(The simplest way to do that is to create a file in /etc/apt/sources.list.d/ containing the deb instruction, and then run ‘apt-get update’).

Once you’ve done this then you can install Phusion Passenger by running:

apt-get install libapache2-mod-passenger

Final

If you like our work, please recommend us on Working With Rails.