[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

strange problem with php4_module and apache 1.3



I banging my head against the wall on this one ...

Using 'dpkg-reconfigure apache', if I select mod_php4 from the module selection
screen of dpkg-reconfigure, then once dpkg-reconfigure completes, apache does
not start (and cannot be started manually with /etc/init.d/apache start).

However, if I *don't* select mod_php4, then apache does start.  

It gets stranger.  If I don't select mod_php4 when running
dpkg-reconfigure, and then manually add in the line

LoadModule php4_module     /usr/lib/apache/1.3/libphp4.so

to my httpd.conf file, and then manually restart, then apache starts fine.

Are their some some modules that conflict with others such that when I pick
mod_php4 in dpkg-reconfigure it bombs?  Why does it work with the manual edit,
but not via dpkg-reconfigure?

Using Apache 1.3.29 on a Testing box.

root@server1:/etc/apache$ apache -t
Processing config directory: /etc/apache/conf.d
 Processing config file: /etc/apache/conf.d/phpmyadmin
 Syntax OK

root@server1:/etc/apache$ apache -l
Compiled-in modules:
   http_core.c
   mod_so.c
   mod_macro.c
suexec: disabled; invalid wrapper /usr/lib/apache/suexec

root@server1:/etc/apache$ more modules.conf
# Autogenerated file - do not edit!
# This file is maintained by the apache package.
# To update it, run the command:
#    /usr/sbin/modules-config apache
ClearModuleList
AddModule mod_so.c
AddModule mod_macro.c
LoadModule env_module /usr/lib/apache/1.3/mod_env.so
LoadModule config_log_module /usr/lib/apache/1.3/mod_log_config.so
LoadModule mime_magic_module /usr/lib/apache/1.3/mod_mime_magic.so
LoadModule mime_module /usr/lib/apache/1.3/mod_mime.so
LoadModule negotiation_module /usr/lib/apache/1.3/mod_negotiation.so
LoadModule status_module /usr/lib/apache/1.3/mod_status.so
LoadModule autoindex_module /usr/lib/apache/1.3/mod_autoindex.so
LoadModule dir_module /usr/lib/apache/1.3/mod_dir.so
LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so
LoadModule userdir_module /usr/lib/apache/1.3/mod_userdir.so
LoadModule alias_module /usr/lib/apache/1.3/mod_alias.so
LoadModule rewrite_module /usr/lib/apache/1.3/mod_rewrite.so
LoadModule access_module /usr/lib/apache/1.3/mod_access.so
LoadModule auth_module /usr/lib/apache/1.3/mod_auth.so
LoadModule expires_module /usr/lib/apache/1.3/mod_expires.so
LoadModule unique_id_module /usr/lib/apache/1.3/mod_unique_id.so
LoadModule setenvif_module /usr/lib/apache/1.3/mod_setenvif.so

And I have added the following line in manually to httpd.conf:

LoadModule php4_module  /usr/lib/apache/1.3/libphp4.so

Thanks, Kevin



Reply to: