Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can I use persistent connection when using combination of NGINX + PHP-FPM?

share|improve this question

There would be nothing holding you back by doing so (though I have never done it before), but I would highly advise not to use persistent connections in MySQL. It would just give your server way more overhead than what it needs.

Take a look at the below Stack Overflow link for some more info:

If you want more performance out of your server, take a look into HTTP caching like Varnish. Varnish will have a much heavier impact on your performance than enabling persistent connections.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.