The internal affect_php_fpm flag would automatically duplicate the action call to php-fpm if apache is restarted. But was it was doing it for all services, causing php-fpm where they were not needed. Fix: only apply this to web servers (httpd,nginx,litespeed,openlitespeed) Only applies if php-fpm is enabled in CustomBuild's options.conf