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
you failed to run etc-update on 70_mod_php.conf.
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?
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.