S
S
Sergey2016-09-05 09:51:27
PHP
Sergey, 2016-09-05 09:51:27

How to add multiple php5 backend servers to an existing apache2 server?

Good afternoon, there is an apache2 server working with php 56 through libapache2_mod_php5 how to add another server with php5 to apache to speed up code compilation?
and should project sources be stored on the server with the second php server?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Entelis, 2016-09-05
@mrmoney

paragraph 4 ruhighload.com/post/%D0%90%D1%80%D1%85%D0%B8%D1%82
...

A
Alexey, 2016-09-05
@alsopub

You cannot add another server to apache.
You need to either install nginx, where requests will be sent to backends through proxy_pass, or simply install two or more servers and register their ip in dns so that the user's browser selects a random server and communicates with it.
Sorry if I misunderstood the question.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question