Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

Making Passenger Preference Pane work with MacPorts' Apache (Resolving "Can’t find the Phusion Passenger Apache module." error message)

enwood edited this page Sep 12, 2010 · 3 revisions

For anyone who isn’t sure what to do with the passenger_pane_config.rb.ports file (and how to resolve the “Can’t find the Phusion Passenger Apache module.” error message), this information is kindly provided by James Thompson in this article.

“Right click on Passenger.prefPane and choose Show Package Contents. Navigate through Contents and then to Resources. Then open the passenger_pane_config.rb file and make the following changes:

HTTPD_BIN = “/opt/local/apache2/bin/httpd”
APACHE_RESTART_COMMAND = “/opt/local/apache2/bin/apachectl -k restart”
APACHE_DIR = “/opt/local/apache2/conf”

Save the file and get back to where you can see the Passenger.prefPane file."

You will have to remove the Passenger pane from System Preferences and re-add it.