D
D
denn2014-07-11 16:34:52
PHP
denn, 2014-07-11 16:34:52

Which bundle is better to choose Nginx+php-fcgi or apache+php-fcgi?

Which bundle is better to choose Nginx+php-fcgi or apache+php-fcgi? What pitfalls can be encountered? I'm going to switch from Apache to Nginx + php-fcgi and install the ISPConfig panel. Is it worth it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2014-07-11
Protko @Fesor

nginx + php fpm

C
Calc, 2014-07-11
@Calc

Nginx, usually used as frontend, and apache as backend
Nginx creates a pool of threads that process incoming requests (a fixed number)
apache creates a thread per request. So here php-fpm somehow doesn't make sense.
Nginx renders static well, can cache, etc.
You can install nginx and proxy requests to apache and cache the results.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question