dev-lang/php does not provide configtest functionality for testing FPM config files. Patch of init.d script attached. Reproducible: Always Steps to Reproduce: 1. Emerge php with fpm flag enabled 2. Modify php-fpm.conf file 3. Run 'rc-service php-fpm configtest' or '/etc/init.d/php-fpm configtest' Actual Results: gentoo ~ # /etc/init.d/php-fpm configtest * php-fpm: unknown function `configtest' Expected Results: gentoo ~ # /etc/init.d/php-fpm configtest * Testing PHP FastCGI Process Manager Configuration ... [25-Apr-2014 21:36:51] WARNING: [pool www] pm.start_servers is not set. It's been set to 20. [ ok ]
Created attachment 375712 [details, diff] Patch to add configtest functionality
Created attachment 375714 [details, diff] Patch to add configtest functionality (fixed) Missed "-t" flag
Thanks! I've just committed the fix: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=334ee76ee647bfeec1b0e81986eb94ea016358d8 Note that the affected package is app-eselect/eselect-php (not dev-lang/php), so you'll need to upgrade that to get the new init script.