Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5493 - mod_php not adding itself to /etc/apache/apache.conf and /etc/apache/commonapache.conf
Summary: mod_php not adding itself to /etc/apache/apache.conf and /etc/apache/commonap...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-24 02:00 UTC by Nick
Modified: 2003-02-04 19:42 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 Nick 2002-07-24 02:00:36 UTC
When mod_php is emerged after Apache it does not add the proper elements to the
Apache configuration files to enable php support within the Apache web server. 
The ebuild lacks the following additions to the respective files:

apache.conf:
LoadModule php4_module        extramodules/libphp4.so
AddModule mod_php4.c

commonapache.conf:
<IfModule mod_php4.c>
    AddType application/x-httpd-php     .php .php3 .php4 .phtml
    AddType application/x-httpd-php-source .phps
</IfModule>
Comment 1 Daniel Ahlberg (RETIRED) gentoo-dev 2002-07-24 02:58:12 UTC
Did you run ebuild /var/db/pkg/dev-php/mod_php-4.2.2/mod_php-4.2.2.ebuild config
after you emerged the package?
Comment 2 Nick 2002-07-24 03:23:12 UTC
No I did not run that after merging mod_php.  I was unaware of ebuild <ebuild>
config.
Comment 3 Daniel Ahlberg (RETIRED) gentoo-dev 2002-07-24 03:50:40 UTC
After the ebuild is merged it echoes some information, but if you merge several
ebuilds at once you may very well miss the information.