Home  >  Q&A  >  body text

Can I customize compilation parameters when yum install nginx?

I want to add additional nginx module when installing nginx. In addition to manually compiling it myself, can this be achieved through yum install installation?

我想大声告诉你我想大声告诉你2712 days ago685

reply all(3)I'll reply

  • ringa_lee

    ringa_lee2017-05-16 17:26:52

    Can’t. The only distribution that can control nginx modules is Gentoo, but having said that, gentoo's installation of shielding modules for nginx is essentially recompiling the code.

    Ubuntu and centos can only control the installation and uninstallation of nginx, but cannot control the nginx module.

    But both ubuntu and centos can control PHP modules.

    reply
    0
  • PHP中文网

    PHP中文网2017-05-16 17:26:52

    I don’t think it works. The packages downloaded from the source are basically compiled

    reply
    0
  • 阿神

    阿神2017-05-16 17:26:52

    Later I changed to compile and install it myself.

    reply
    0
  • Cancelreply