Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Is it possible to install passenger into nginx that has been installed previously using yum?

I need to provide a directory prefix for the install-nginx-module, just wondering where that would be on Centos?

passenger-install-nginx-module  --auto-download --auto --prefix=$nginx_directory_prefix
share|improve this question

2 Answers 2

No. Nginx does not support loadable modules. It is impossible to install Phusion Passenger into an existing Nginx binary without recompilation.

share|improve this answer

One of the Passenger developers provides a yum repository for RHEL/CentOS. (You need EPEL to use it.) This is probably the easiest way to get up and running.

share|improve this answer
    
Looks like the yum packages are a fiar bit behind ... seems like building from source might be the safest option? –  Toby Hede Oct 11 '12 at 0:00
    
That depends entirely on your environment and business requirements. –  Michael Hampton Oct 11 '12 at 0:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.