Answer the question
In order to leave comments, you need to log in
Which web server bundle to use?
The year is 2018, technologies do not stand still, so the question is how best to configure a web server: nginx-php_fpm or nginx + apache or another option?
To immediately indicate the cornerstones, let's say a powerful web server with 8GB of RAM, a multi-core processor.
"Apache is better because it has .htaccess" is baby talk and a matter of laziness.
CMS is completely its own, it is written and finalized from scratch, it is somewhat similar in logic to the MVC model, it can be scaled to any engine configuration at any time.
The project is still on the test, the loads are small, MariaDB Redis and Tarantool are also connected.
The plan is for the project to be large and, accordingly, very loaded, there are a lot of both statics and dynamics
I have experience with both nginx and apache, but I honestly don’t know how to correctly assemble it, it seems like it’s more difficult to set up nginx with frm, but this is not a problem.
Or even despite the large amount of RAM, is it still better to replace Apache with fpm?
Or sit on a bunch of Nginx + Apache + proxy_fcgi_module, long and hard to configure and rewrite and add CMS, etc. chasing optimization and hoping that Apache will quickly parse the dynamics, unlike bare nginx?
Answer the question
In order to leave comments, you need to log in
Lots of controversy about this, of course.
I have a VDS on Debian 9 with nginx/1.10.3 (due to some nuances, I can’t update to the latest version), also, it costs PHP7 (OpCache is enabled in PHP 7, which gives a lot of performance) - what can I say, it flies.
And at the expense of Apache - it eats a lot of resources.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question