Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96968 - Mod_php 4.4 not used by apache 2.0.54-r7
Summary: Mod_php 4.4 not used by apache 2.0.54-r7
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 All
: High normal
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-24 11:37 UTC by David Williams
Modified: 2005-07-12 12:28 UTC (History)
0 users

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 David Williams 2005-06-24 11:37:15 UTC
Problem: php files are displayed as text rather than processed by mod_php.

Resolution: move 70_mod_php.conf from /etc/apache2/modules.d to
/etc/apache2/conf/modules.d. Then comment out the AddDirectoryIndex line,
AddDirectoryIndex is not mentioned in the Apache documentation and causes an
error starting apache. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Paul Laughlin 2005-07-03 19:59:39 UTC
The problem seems to be in the eclass.

depend.apache.eclass:APACHE2_MODULES_CONFDIR="${APACHE2_CONFDIR}/modules.d"
depend.apache.eclass:APACHE2_CONFDIR="/etc/apache2"

The APACHE2_CONFDIR= should read:  APACHE2_CONFDIR="/etc/apache2/conf"
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-07-06 02:48:42 UTC
mod_php-4.4* is incompatible and not intended for use with stable apache version
with the old layout. The locations are valid for >=net-www/apache-2.0.54-r10.

The problem w/ the invalid AddDirectoryIndex directive still seems to exist for
4.3.11-r2 and 4.4.0; it seems like it's used in invalid context (Bug 90120).
  
Comment 3 Sebastian Bergmann (RETIRED) gentoo-dev 2005-07-12 12:28:59 UTC
dev-php/mod_php-4.4.0 is to be used with the current stable version of Apache,
dev-php/mod_php-4.4.0-r1 is to be used with the current unstable version of Apache.