Should not depend on only php because cgi scripts can be written in any language such as C. From ebuild: RDEPEND=" php? ( dev-lang/php ) cgi? ( dev-lang/php[cgi] )" REQUIRED_USE=" monkeyd_plugins_tls? ( !static-plugins ) elibc_uclibc? ( !debug ) cgi? ( php )" Reproducible: Always Monkeyd documentation about cgi: http://www.monkey-project.com/documentation/1.6/plugins/cgi.html