S
S
Stanislav Pryadein2014-12-20 16:52:15
PHP
Stanislav Pryadein, 2014-12-20 16:52:15

Which web server is currently up to date for a simple website?

Hi all.
I haven't looked at the Toaster for a long time, and then looking through the questions that interest me, I constantly come across comments: Apache in the furnace, First of all, get rid of Apache ... and so on.
I googled the question, but I didn’t see any obvious answers, I just realized that Apache is suitable for web applications, but I’m interested in a regular site, I don’t use Apache’s capabilities, I don’t install CMS, etc.
Interested in a web server as a return of content and no more.
Question: what are the current solutions on the web server market, and which one is better and more economical to use for delivering web content.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
P
Puma Thailand, 2014-12-20
@opium

you answered your own question, nginx

E
Eugene, 2014-12-20
@e-antonov

make a two-tier architecture. on the front you will have nginx. it will accept requests and return statics, and redirect requests to scripts either to Apache or to php-fpm. for an average site with average attendance, you will not see a difference in Apache and php-fpm. except that Apache is convenient for many because .htaccess and its rules work, and with php-fpm you have to do this in the nginx config

E
Ergil Osin, 2014-12-20
@Ernillew

1. Under what OS?
2. For what purposes?
In general, the one who knows how to prepare the system administrator whom you hire is better.

V
Vlad Zhivotnev, 2014-12-20
@inkvizitor68sl

For statics - nginx, proxy dynamics to apache.
With php-fpm you can win on resources if you know how. But if you don’t understand this (and it’s not your job to understand it) - it’s better not to get involved. Either Apache + nginx, or hire an admin.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question