neloe / ngx_zmq

An upstream ZeroMQ module for nginx
BSD 2-Clause "Simplified" License
22 stars 4 forks source link

Installing ngx_zmq #6

Open vatnoise opened 8 years ago

vatnoise commented 8 years ago

Hi, Wanted to confirm with the specialists in this: Is the only way to install the module is to compile nginx from source?

I'm asking because the libzmq and php-zmq could be compiled from their own sources without touching apache's and then just adding the extension=zmq.so to the apache's config.

But it seems here that nginx needs to be installed from scratch to include a module? Seeing that the src folder only has a few files I assume I don't need to compile ngx_zmq and just need to open nginx's source folder and do?:

./configure --add-module=<path_to_ngx_zmq> *many_other_possible_modules_from_previous_installation*
make
make install

Also, in this case, I assume I won't be able to update nginx with apt-get upgrade?

P.S. Sorry, not quite a sysadmin myself. 🎱