Created attachment 144525 [details] Suggested patch to the net-mgmt/nagios Makefile The net-mgmt/nagios port requires PHP but doesn't request it. The Makefile should include WANT_PHP_MOD.
The nagios port doesn't require the apache php module to work, it needs a php interpreter in any web server, that could be the apache mod_php, or a cgi, or a fastcgi version.