Fix php-fpm restart when packages installed.