Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 88244

Summary: libphp4.so is moved under /usr/lib/apache2/modules/ from /usr/lib/apache2/extramodules/
Product: Gentoo Linux Reporter: Martin Mokrejš <mmokrejs>
Component: [OLD] ServerAssignee: PHP Bugs <php-bugs>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin Mokrejš 2005-04-07 03:27:24 UTC
I don't know how did it happen, but see I have:

# ls -la /usr/lib/apache2/modules/     
total 6960
drwxr-xr-x  2 root root    1124 Apr  7 12:11 .
drwxr-xr-x  4 root root      83 Mar 29 11:58 ..
-rw-r--r--  1 root root    8354 Mar 29 11:58 httpd.exp
-rwxr-xr-x  1 root root 4729976 Apr  7 12:11 libphp4.so
-rwxr-xr-x  1 root root    7340 Mar 29 11:58 mod_access.so
-rwxr-xr-x  1 root root    6636 Mar 29 11:58 mod_actions.so
-rwxr-xr-x  1 root root   10540 Mar 29 11:58 mod_alias.so
-rwxr-xr-x  1 root root    5460 Mar 29 11:58 mod_asis.so
[cut]
# ls -la /usr/lib/apache2/extramodules/
ls: /usr/lib/apache2/extramodules/: No such file or directory
# head /etc/apache2/conf/modules.d/70_mod_php.conf 
# vim: ft=apache sw=4 ts=4
<IfDefine PHP4>

        # Load the module first
        <IfModule !sapi_apache2.c>
                LoadModule php4_module    extramodules/libphp4.so
        </IfModule>

        # Set it to handle the files
        <IfModule mod_mime.c>


I have installed:

# emerge -s mod_php
Searching...   
[ Results for search key : mod_php ]
[ Applications found : 1 ]
 
*  dev-php/mod_php
      Latest version available: 4.3.10-r1
      Latest version installed: 4.3.10-r1

*  net-www/apache
      Latest version available: 2.0.53
      Latest version installed: 2.0.53
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-04-07 10:53:55 UTC
you failed to run etc-update on 70_mod_php.conf.
Comment 2 Martin Mokrejš 2005-04-07 11:09:01 UTC
BUt re-emerging mod_php does not give me a chance to update that file using etc-update. Why? You mean I've failed sometimes in the past?
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-04-07 11:11:50 UTC
if portage is telling you that, it means that the last time it changed, you told it to ignore the changes (and since the file hasn't changed again, it assumes that you don't want those changes).

go and copy /usr/portage/dev-php/mod_php/files/4.3.10-r1/70_mod_php.conf over your copy in /etc/..., and things will be resolved.