Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165258 - 70_mod_php5.conf should be removed with php package
Summary: 70_mod_php5.conf should be removed with php package
Status: RESOLVED DUPLICATE of bug 8423
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-04 12:17 UTC by Sebastian Morr
Modified: 2007-02-04 12:23 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 Sebastian Morr 2007-02-04 12:17:42 UTC
After I had installed apache and php-5.1.6-r6, I unmerged php again. As I tried to start apache, it gave an error.



Reproducible: Always

Steps to Reproduce:
1. Emerge apache and php
2. Unmerge php
3. Try to start apache

Actual Results:  
# /etc/init.d/apache2 start
 * Apache2 has detected a syntax error in your configuration files:
Syntax error on line 5 of /etc/apache2/modules.d/70_mod_php5.conf:
Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory

Expected Results:  
Should have started apache without errors.

This is trivial, but I think /etc/apache2/modules.d/70_mod_php5.conf should be removed or moved as you unmerge the php package.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-04 12:23:50 UTC
Can't; it's how CONFIG_PROTECT works. If you haven't modified it, it will be removed with recent portage-2.1.2 version, otherwise, will just stay there.


*** This bug has been marked as a duplicate of bug 8423 ***