php restart php-fpm mac code example Example: how to restart php-fpm on ubuntu sudo /etc/init.d/php-fpm restart