apache vhosts removes php.conf from /etc/httpd/conf.d/ unless explicitly defined. This causes issues when nagios comes up as it needs php to bring up its index.php and other accessories. Include apache php as a dependency for nagios