Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am running nginx 1.2.6 on Ubuntu. With nginx, I can perform upgrades gracefully, so that no incoming requests will be lost.

Is there any process like that for PHP-FPM? If so, what is the process for doing the upgrade? Is it possible to ask PHP-FPM to reload php.ini with no downtime?

If not, what's the next best way to perform the upgrade? Taking into account:

  • that, we minimize downtime.
  • Ensure that all current requests are performed and finished.

Note that our setup currently only consists of 1 server, with all services running on that machine.

share|improve this question

1 Answer 1

You can install second instance of php-fpm with another port of socket it doesn't matter, change in the nginx config port or socket to new php-fpm and "perform upgrades gracefully". After you can remove old php-fpm.

share|improve this answer

Your Answer

 
discard

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.