Chris,
Thank you, I will try recompile Apache now.

MJ
----- Original Message ----- 
From: "Chris Hewitt" <[EMAIL PROTECTED]>
To: "MJ" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, March 29, 2004 6:05 PM
Subject: Re: Fw: [PHP-INSTALL] Upgrading PHP 4.3.1 to PHP 4.3.4


> MJ wrote:
>
> > Hi Chris,
> >
> > It seems that the Ex Administrator decided to compile and install a
> > new version rather than to use the default installed version. There is
> > only one httpd.conf file it means that the default installation is not
> > running. Following are the outputs of few commands to give you better
> > idea. I want to use the same Apache what is running now.
> >
> >
> >
> >
> >
> > It seems that we are using second httpd which doesn't have DSO
> > support. Usually when we compile Apache the httpd.conf and all the bin
> > files are copied in the same parent directory but here I don't know
> > why it is in different directories, httpd.conf is in "/web/conf", and
> > httpd is in /usr/local/etc/httpd/bin/. So I am confused what prefix I
> > should specify while recompiling. Will Recompile overwrite all my
config?
> >
> >
> >
> >
> >
> > *#which httpd
> > */usr/sbin/httpd
> >
> > *# /usr/sbin/httpd -V
> > *Server version: Apache/1.3.12 (Unix)  (Red Hat/Linux)
> > Server built:   Aug 23 2000 15:44:50
> > Server's Module Magic Number: 19990320:7
> > Server compiled with....
> >  -D EAPI
> >  -D HAVE_MMAP
> >  -D HAVE_SHMGET
> >  -D USE_SHMGET_SCOREBOARD
> >  -D USE_MMAP_FILES
> >  -D USE_FCNTL_SERIALIZED_ACCEPT
> >  -D HTTPD_ROOT="/usr"
> >  -D SUEXEC_BIN="/usr/sbin/suexec"
> >  -D DEFAULT_PIDLOG="/var/httpd/httpd.pid"
> >  -D DEFAULT_SCOREBOARD="/var/httpd/httpd.scoreboard"
> >  -D DEFAULT_LOCKFILE="/var/httpd/httpd.lock"
> >  -D DEFAULT_XFERLOG="/var/log/httpd/access_log"
> >  -D DEFAULT_ERRORLOG="/var/log/httpd/error_log"
> >  -D TYPES_CONFIG_FILE="/etc/httpd/conf/mime.types"
> >  -D
> > SERVER_CONFIG_FILE="/etc/httpd/conf/httpd.conf"            *<---DOESN'T
> > EXIST*
> >  -D ACCESS_CONFIG_FILE="/etc/httpd/conf/access.conf"
> >  -D RESOURCE_CONFIG_FILE="/etc/httpd/conf/srm.conf"
> >
> >
> > *# /usr/local/etc/httpd/bin/httpd -V
> > *Server version: Apache/1.3.27 (Unix)
> > Server built:   Apr  9 2003 16:41:15
> > Server's Module Magic Number: 19990320:13
> > Server compiled with....
> >  -D HAVE_MMAP
> >  -D HAVE_SHMGET
> >  -D USE_SHMGET_SCOREBOARD
> >  -D USE_MMAP_FILES
> >  -D HAVE_FCNTL_SERIALIZED_ACCEPT
> >  -D HAVE_SYSVSEM_SERIALIZED_ACCEPT
> >  -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
> >  -D HARD_SERVER_LIMIT=256
> >  -D HTTPD_ROOT="/usr/local/etc/httpd"
> >  -D SUEXEC_BIN="/usr/local/etc/httpd/bin/suexec"
> >  -D DEFAULT_PIDLOG="logs/httpd.pid"
> >  -D DEFAULT_SCOREBOARD="logs/httpd.scoreboard"
> >  -D DEFAULT_LOCKFILE="logs/httpd.lock"
> >  -D DEFAULT_ERRORLOG="logs/error_log"
> >  -D TYPES_CONFIG_FILE="/web/conf/mime.types"
> >  -D SERVER_CONFIG_FILE="/web/conf/httpd.conf"      *<----EXIST AND
> > HAVE ALL MY CONFIGURATION*
> >  -D ACCESS_CONFIG_FILE="/web/conf/access.conf"
> >  -D RESOURCE_CONFIG_FILE="/web/conf/srm.conf"
> >
> > *# ps -ef|grep httpd*
> > root       892     1  0  2003 ?        00:03:29
> > /usr/local/etc/httpd/bin/httpd
> > web        893   892  0  2003 ?        00:31:48
> > /usr/local/etc/httpd/bin/httpd
> > web        894   892  0  2003 ?        00:30:49
> > /usr/local/etc/httpd/bin/httpd
> > web        895   892  0  2003 ?        00:30:43
> > /usr/local/etc/httpd/bin/httpd
> > web        896   892  0  2003 ?        00:30:59
> > /usr/local/etc/httpd/bin/httpd
> > web        897   892  0  2003 ?        00:30:33
> > /usr/local/etc/httpd/bin/httpd
> > web       1055   892  0  2003 ?        00:30:16
> > /usr/local/etc/httpd/bin/httpd
> > web       1056   892  0  2003 ?        00:20:28
> > /usr/local/etc/httpd/bin/httpd
> > web       1059   892  0  2003 ?        00:30:24
> > /usr/local/etc/httpd/bin/httpd
> > web       1084   892  0  2003 ?        00:30:31
> > /usr/local/etc/httpd/bin/httpd
> > web       1128   892  0  2003 ?        00:30:48
> > /usr/local/etc/httpd/bin/httpd
> > web      21079   892  0 Mar17 ?        00:03:59
> > /usr/local/etc/httpd/bin/httpd
> > root     12659 12287  0 13:23 pts/1    00:00:00 grep httpd
> >
> >
> >
> >
> >
> > *Many thanks *for your continuous support. I will wait for your reply
> >
> > MJ
> >
> I have not had to compile Apache httpd so as you say you have you will
> probably know more about it than I do. I would suspect there would be a
> file in your httpd source directory with the original configuration. I'd
> use this same configuration and everything will remain in the layout
> that it currently is.
>
> Yes, if you recompile then existing files would be overwritten, though I
> don't know if this applies to httpd.conf too. I'd back up any
> configuration files before recompiling.  You will need to do the PHP
> compile before Apache httpd. There are some useful insstructions in the
> INSTALL file in the PHP sources.
>
> Regards
>
> Chris
>
>

Reply via email to