T
T
theSever2016-12-09 23:17:44
Apache HTTP Server
theSever, 2016-12-09 23:17:44

Problem with FastCGI on CentOS, how to solve?

I decided to fasten FastCGI on Apache, as there were problems with the load.
I did everything according to the instructions - https://shneider-host.ru/blog/ustanovka-apache-ip...
But there is a problem. There are about a dozen sites spinning on the server, but now only the first site that I set up is given for all domains. Creating separate site.ru.conf for each site doesn't help.
What is the problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ilya Evseev, 2016-12-10
@IlyaEvseev

Most likely, the FastCGI process does not see the site name that Apache passes to it.
The best way to reduce the load and simplify the setup is to switch to Nginx + PHP-FPM.
From repeated experience, such a transition will take less time than debugging Apache.

D
Dmitry Aitkulov, 2016-12-10
@Scarfase1989

and configs site1.conf site2.conf can be? look in the logs what is happening?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question