php-fpm should be reloaded on upgrade
Bug #1098319 reported by
Mark McKinstry
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IUS Community Project |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
If you're using php-fpm, you need to reload php-fpm when php is updated, otherwise all the members of the php-fpm pool will continue to run on the older version of PHP. This can be a quite old version depending on when the last time you did a php-fpm reload.
You can check this by upgrading a server and checking the phpinfo of a site, it will still show the old version. If you do a 'lsofp -p $PID | grep deleted' on the php-fpm process, you'll see it is running off the older deleted php-fpm binary. When you do a reload of php-fpm, it will fix it.
Fedora now does a reload of php-fpm on upgrade: http://
summary: |
- php53u should reload php-fpm when upgrading + php-fpm should be reloaded on upgrade |
To post a comment you must log in.
I believe we should follow RHEL's convention on this IMHO. Operating a high volume website, we stage an update on many machines before reloading them simultaneously. This is especially true if we are adding/removing additional PECL modules or if there is a code change necessary. Not reloading automatically gives us the ability to do this.
I don't know of any daemons that are automatically reloaded or restarted on upgrade in RHEL actually.