Using www-servers/apache-2.2.8-r1 with -D PHP5 in the conf.d/apache2 file, causes Apache to crash out during startup with the following error: * Apache2 has detected a syntax error in your configuration files: Syntax error on line 17 of /etc/apache2/modules.d/70_mod_php5.conf: Invalid command 'AddDirectoryIndex', perhaps misspelled or defined by a module not included in the server configuration Downgrading to www-servers/apache-2.2.8 fixes this issue. Reproducible: Always Steps to Reproduce: 1. Merge in www-servers/apache-2.2.8-r1 2. /etc/init.d/apache2 start Actual Results: * Apache2 has detected a syntax error in your configuration files: Syntax error on line 17 of /etc/apache2/modules.d/70_mod_php5.conf: Invalid command 'AddDirectoryIndex', perhaps misspelled or defined by a module not included in the server configuration Expected Results: * Caching service dependencies ... [ ok ] * Starting apache2 ... [ ok ] Downgrading apache to 2.2.8 fixes this issue. in /etc/portage/package.mask >=www-servers/apache-2.2.8-r1
I've also tested this on 2 independent systems, both with the same result.
*** This bug has been marked as a duplicate of bug 209033 ***