With apache2, we should use <IfModule !sapi_apache2.c> instead of <IfModule !mod_php4.c> to determine whether the php module is not loaded yet. Reproducible: Always Steps to Reproduce:
coredumb: is this correct?
To test, I made 70_mod_php.conf as following, <IfModule !mod_php4.c> LoadModule php4_module extramodules/libphp4.so </IfModule> <IfModule !mod_php4.c> LoadModule php4_module extramodules/libphp4.so </IfModule> I have got the following warning # /etc/init.d/apache2 start * Starting apache2... [Thu Jun 17 17:29:29 2004] [warn] module php4_module is already loaded, [ ok ] Then I tried, <IfModule !sapi_apache2.c> LoadModule php4_module extramodules/libphp4.so </IfModule> <IfModule !sapi_apache2.c> LoadModule php4_module extramodules/libphp4.so </IfModule> root@aoa modules.d # /etc/init.d/apache2 restart * Starting apache2... [ ok ] everything ok.
fixed in cvs.