“Could not open configuration file /usr/local/zend/etc/sites.d/zend-default-vhost-80.conf”

If you’ve upgraded from an older version of Zend Server than 5.6 up to 6.0 you may have ended up with a patched httpd.conf that references a vhost configuration file that has not been created. If you try to start Apache you may see this message:

$ sudo apachectl start
httpd: Syntax error on line 428 of \
/usr/local/zend/apache2/conf/httpd.conf: \
Could not open configuration file \
/usr/local/zend/etc/sites.d/zend-default-vhost-80.conf: \
No such file or directory
-e /usr/sbin/apachectl start [FAILED]

This means your Apache configuration has been patched to references the virtual host files, without actually creating them. If you take a look inĀ /usr/local/zend/apache2/conf/httpd.conf it may look like this:

NameVirtualHost *:80
<VirtualHost *:80>
Include "/usr/local/zend/etc/sites.d/zend-default-vhost-80.conf"
Include "/usr/local/zend/etc/sites.d/globals-*.conf"
Include "/usr/local/zend/etc/sites.d/vhost_*.conf"

One way to fix this is to simply copy them down from these Gists:

Add comment