Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209033 - Apache 2.2.8-r1 breaks PHP by removing/breaking AddDirectoryIndex directive
Summary: Apache 2.2.8-r1 breaks PHP by removing/breaking AddDirectoryIndex directive
Status: RESOLVED DUPLICATE of bug 139451
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 209425 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-05 21:05 UTC by Martin Conniffe
Modified: 2008-02-09 12:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Conniffe 2008-02-05 21:05:11 UTC
After upgrading apache to 2.2.8-r1, apache fails to start 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

Worked properly with apache-2.2.8, and the ChangeLog says changes were made to fix but #139451, which seems to remove the support for the AddDirectoryIndex directive

Reproducible: Always

Steps to Reproduce:
1.install apache 2.2.8-r1
2.install PHP with USE=apache
3./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:  
 * Starting apache2 ...                             [ ok ]
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-05 21:07:53 UTC
Either re-emerge php or fix the config.

*** This bug has been marked as a duplicate of bug 139451 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-02-09 12:45:27 UTC
*** Bug 209425 has been marked as a duplicate of this bug. ***