search

Home  >  Q&A  >  body text

centos - How to combine apache with php-fpm

When compiling and installing php, if php-fpm is enabled, what corresponding work does the corresponding apache server need to do? For example, is the mod_php mode unavailable? How to transfer the request to the php-fpm process? Also, which working mode of apache is prefork | worker | event? How to configure?
I checked the information but couldn’t find it very clear. I hope someone can explain it in detail. Thank you very much!

PHP中文网PHP中文网2711 days ago708

reply all(1)I'll reply

  • 仅有的幸福

    仅有的幸福2017-06-28 09:26:09

    php-fpm can only work with nginx, apache. Higher-end companies use nginx, and low-end companies use apache

    reply
    0
  • Cancelreply