Phusion white papers Phusion overview

Phusion Passenger 3.0.12 released

By Hongli Lai on April 13th, 2012

Phusion Passenger is an Apache and Nginx module for deploying Ruby web applications. It has a strong focus on ease of use, stability and performance. Phusion Passenger is built on top of tried-and-true, battle-hardened Unix technologies, yet at the same time introduces innovations not found in most traditional Unix servers. Since version 3.0 it can also run standalone without an external web server, making it not only easier for first-time users but also ideal on development environments.

Recent changes

Phusion Passenger is under constant maintenance and development. We are pleased to announce Phusion Passenger version 3.0.12. This is a bug fix release.

[Apache] Support Apache 2.4. The event MPM is now also supported.
[Nginx] Preferred Nginx version upgraded to 1.0.15.
[Nginx] Preferred PCRE version upgraded to 8.30.
[Nginx] Fixed compatibility with Nginx < 1.0.10.
[Nginx] Nginx is now installed with http_gzip_static_module by default.
[Nginx] Fixed a memory disclosure security problem.
The issue is documented at http://www.nginx.org/en/security_advisories.html and affects more modules than just Phusion Passenger. Users are advised to upgrade as soon as possible. Patch submitted by Gregory Potamianos.
[Nginx] passenger_show_version_in_header now hides the Phusion Passenger version number from the ‘Server:’ header too.
Patch submitted by Gregory Potamianos.
Fixed a /proc deprecation warning on Linux kernel >= 3.0.

How do I upgrade to 3.0.12?

Via a gem

First install the gem with the following command:

gem install passenger

If you’re using Phusion Passenger for Apache or for Nginx, then re-run the Apache or Nginx module installer, whichever is appropriate:

passenger-install-apache2-module
passenger-install-nginx-module

At the end the installer will tell you to paste a configuration snippet into your web server config file. Replace the old snippet that you already had with this new one.

Phusion Passenger Standalone users don’t need to run anything else. Whenever you type

passenger start

it will automatically upgrade itself.

Via Ubuntu packages

John Leach from Brightbox has kindly provided Ubuntu packages for Phusion Passenger. You can find installation instructions on the Brightbox website.
(Note that John is currently packaging 3.0.12, so it might take a while before this release shows up in the apt repository.)

Via RedHat/CentOS packages

YUM repositories with RPMs are maintained by Erik Ogan and Stealthy Monkeys Consulting. Please note that Erik is currently packaging 3.0.12, so it might take a while before this release shows up in the yum repositories.

Step 1: install the release package

The easiest way to install Phusion Passenger and keep it up to date is to install the passenger-release package from the main repository:

Fedora Core 15:

yum install http://passenger.stealthymonkeys.com/fedora/15/passenger-release.noarch.rpm

Fedora Core 14:

yum install http://passenger.stealthymonkeys.com/fedora/14/passenger-release.noarch.rpm

RHEL 5 / CentOS 5 / ScientificLinux 5:
(Note: these packages depend on EPEL.)

rpm -Uvh http://passenger.stealthymonkeys.com/rhel/5/passenger-release.noarch.rpm

RHEL 6 / CentOS 6 / ScientificLinux 6:

yum install http://passenger.stealthymonkeys.com/rhel/6/passenger-release.noarch.rpm

Step 2: use Yum

From there you can use Yum to install packages. For example, try one of these:

yum install nginx-passenger

or

yum install mod_passenger

or

yum install passenger-standalone

Building your own packages

There are instructions for building your own packages and Yum repositories in the rpm directory ReadMe within the GitHub repository.

Final

Phusion Passenger is provided to the community for free. If you like Phusion Passenger, please consider sending us a donation. Thank you!

  • egze

    Any ETA on the multiple ruby versions support? :)

  • http://www.phusion.nl/ Hongli Lai

    Hey egze. We’re going to publish the code to Github soon. It’ll be alpha at first because there have been quite a lot of internal changes. Currently the code supports multiple Ruby versions internally but the option isn’t yet provided in the web server configuration layer.

  • http://www.whyaskwhy.org/blog/ deoren

    Thanks guys!

  • http://www.whyaskwhy.org/blog/ deoren

    Quick question:

    Any plans to hide the nginx version from displaying? I notice that Phusion Passenger exposes it even with these settings:

    passenger_show_version_in_header off;
    server_tokens off;

    Thanks.

  • http://www.phusion.nl/ Hongli Lai

    That was a bug. It has been fixed.

  • http://www.whyaskwhy.org/blog/ deoren

    “That was a bug. It has been fixed.”

    3.0.13, or an updated 3.0.12 build? To be clear, I was running 3.0.11 and saw this blog post (via RSS feed). I upgraded to Phusion Passenger v3.0.12 and nginx v1.0.15. I then added “passenger_show_version_in_header off;” to go with my setting of “server_tokens off;” and noticed that the nginx version was still being displayed. If I’m doing something wrong, please let me know. Thanks!

  • http://www.whyaskwhy.org/blog/ deoren

    FYI: I submitted a ticket for the issue.

    http://code.google.com/p/phusion-passenger/issues/detail?id=751

    Thanks.

  • Pingback: The Mega April 2012 Ruby and Rails News Roundup

  • Pingback: Dotdeb » Blog Archive » Passenger 3.0.12