Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26065 - mod_php-4.3.2 does not update /etc/apache2/conf/modules.d/70_mod_php.conf
Summary: mod_php-4.3.2 does not update /etc/apache2/conf/modules.d/70_mod_php.conf
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-06 11:43 UTC by Ernesto
Modified: 2003-08-06 13:30 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 Ernesto 2003-08-06 11:43:02 UTC
Using mod_php-4.3.2 with apache-2.0.47:

The ebuild for mod_php-4.3.2 seds /etc/conf.d/apache2 and changes "-D PHP" to
"-D PHP4". This is supposed to be that way to support concurrent versions of
mod_php (4 and 5).

But after restarting Apache 2, PHP will not work. This happens because the
ebuild for mod_php does not install and updated version of
/etc/apache2/conf/modules.d/70_mod_php.conf.

The original 70_mod_php.conf will look for "PHP" to be defined, not "PHP4". This
file needs to updated when sed'ing /etc/conf.d/apache2.

Am I right?
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-08-06 13:06:53 UTC
The new ebuilds DO install a new version of 70_mod_php.conf for you, that you activate with etc-update as normal.
Run the "emerge -k mod_php" again, and then etc-update to get the updated 70_mod_php.conf.
Comment 2 Ernesto 2003-08-06 13:30:15 UTC
Sorry. That didn't happen here, but must be a problem with my system.