Php – Apache: mod_passenger + mod_php

apache-2.2PHPphusion-passengerruby-on-rails

Is it possible to install both modules for PHP and rails passenger? I installed libapache2-mod-php5 first, and when I try to install libapache2-mod-passenger, it tries to remove the php module.

Is there any other way how to make PHP and Rails together on single apache installation?

edit: I'm using Ubuntu x64 Jaunty

Best Answer

I believe the package incompatibility can be resolved by installing libapache2-mod-passenger from the Brightbox repository rather than from the Ubuntu repositories. I ran a rails/php server with this configuration on an 8.04 server without any problems.

Bightbox repositories: http://www.modrails.com/install.html