httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: [users@httpd] Interesting.... :/
Date Wed, 04 Jun 2003 07:06:53 GMT
>-----Original Message-----
>From: Chris Knipe []
>Some input much appreciated.  I upgraded mod_php4 from 4.2.3 
>to 4.3.2, and
>needless to say, something went horribly wrong. PHP compiled 
>without any
>serious problems, and the installation seemed to have gone 
>fine as well.
>When issuing a apachectl restart, apache immediately core 
>dumped... OOOPS.

I guess you are dynamically loading the PHP module, so therefore you
shouldn't need to recompile apache - you'd think... I don't currently
use PHP but when I did use it a while ago, I recall that you had to
compile PHP "--with-apache", i.e. you had to give it the path to the
apache sources. I suspect that this was so that the PHP configure script
could patch apache. If this is still the case, then you will have to
recompile apache against the new PHP distro.

Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

>Well, my attempts at debugging, so far, was very much unsuccessful...
>root@netsphere:/usr/local/etc/apache# httpd --help
>Segmentation fault (core dumped)
>root@netsphere:/usr/local/etc/apache# httpd -h
>Usage: httpd [-D name] [-d directory] [-f file]
>             [-C "directive"] [-c "directive"]
>             [-v] [-V] [-h] [-l] [-L] [-S] [-t] [-T] [-F]
>  -D name          : define a name for use in <IfDefine name> 
>  -d directory     : specify an alternate initial ServerRoot
>  -f file          : specify an alternate ServerConfigFile
>  -C "directive"   : process directive before reading config files
>  -c "directive"   : process directive after  reading config files
>  -v               : show version number
>  -V               : show compile settings
>  -h               : list available command line options (this page)
>  -l               : list compiled-in modules
>  -L               : list available configuration directives
>  -S               : show parsed settings (currently only 
>vhost settings)
>  -t               : run syntax check for config files (with 
>docroot check)
>  -T               : run syntax check for config files (without docroot
>  -F               : run main process in foreground, for 
>process supervisors
>root@netsphere:/usr/local/etc/apache# httpd -v
>Server version: Apache/1.3.27 (Unix)
>Server built:   Dec 10 2002 22:10:01
>root@netsphere:/usr/local/etc/apache# httpd -V
>Server version: Apache/1.3.27 (Unix)
>Server built:   Dec 10 2002 22:10:01
>Server's Module Magic Number: 19990320:13
>Server compiled with....
> -D EAPI_MM_CORE_PATH="/var/run/"
> -D ACCEPT_FILTER_NAME="httpready"
> -D HTTPD_ROOT="/usr/local"
> -D SUEXEC_BIN="/usr/local/sbin/suexec"
> -D DEFAULT_PIDLOG="/var/run/"
> -D DEFAULT_SCOREBOARD="/var/run/httpd.scoreboard"
> -D DEFAULT_LOCKFILE="/var/run/httpd.lock"
> -D DEFAULT_ERRORLOG="/var/log/httpd-error.log"
> -D TYPES_CONFIG_FILE="etc/apache/mime.types"
> -D SERVER_CONFIG_FILE="etc/apache/httpd.conf"
> -D ACCESS_CONFIG_FILE="etc/apache/access.conf"
> -D RESOURCE_CONFIG_FILE="etc/apache/srm.conf"
>root@netsphere:/usr/local/etc/apache# httpd -l
>Compiled-in modules:
>  http_core.c
>  mod_so.c
>suexec: disabled; invalid wrapper /usr/local/sbin/suexec
>root@netsphere:/usr/local/etc/apache# httpd -S
>Segmentation fault (core dumped)
>root@netsphere:/usr/local/etc/apache# httpd -t
>Segmentation fault (core dumped)
>root@netsphere:/usr/local/etc/apache# httpd -T
>Segmentation fault (core dumped)
>root@netsphere:/usr/local/etc/apache# httpd -F
>Segmentation fault (core dumped)
>root@netsphere:/usr/ports/www/mod_php4# ldd
> => /usr/lib/ (0x28297000)
> => /usr/local/lib/ (0x282b0000)
> => /usr/local/lib/ 
> => /usr/local/lib/ (0x28371000)
> => /usr/local/lib/ (0x2838e000)
> => /usr/local/lib/ (0x283e8000)
> => /usr/local/lib/ (0x283ea000)
> => /usr/lib/ (0x2847b000)
> => /usr/local/lib/ (0x28489000)
> => /usr/local/lib/ (0x284cd000)
> => /usr/local/lib/ (0x284f1000)
> => 
> => /usr/local/lib/ (0x2852b000)
> => /usr/local/lib/ (0x28544000)
> => /usr/local/lib/ (0x28580000)
> => /usr/lib/ (0x28584000)
> => /usr/local/lib/ (0x2858e000)
> => /usr/local/lib/ (0x28669000)
> => /usr/local/lib/ (0x28671000)
> => /usr/lib/ (0x28677000)
> => /usr/local/lib/ (0x28687000)
> => /usr/local/lib/ (0x286b6000)
> => /usr/lib/ (0x287a9000)
> => /usr/local/lib/ (0x287c5000)
> => /usr/local/lib/ 
> => /usr/lib/ (0x2881c000)
> => /usr/lib/ (0x2884a000)
> => /usr/local/lib/ (0x28907000)
> => /usr/lib/ (0x289d4000)
> => /usr/lib/ (0x28069000)
> => /usr/lib/ (0x28a1b000)
> => /usr/lib/ (0x28b1a000)
>Needless to say, I am baffled.  The system is FreeBSD 
>4.8-STABLE, running
>apache13-modssl (FreeBSD Ports).  I am reinstalling apache as 
>well now to
>see if that maybe fixes the problem, but ya... *ANY* ideas much
>The official User-To-User support forum of the Apache HTTP 
>Server Project.
>See <URL:> for more info.
>To unsubscribe, e-mail:
>   "   from the digest:
>For additional commands, e-mail:
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat
keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Swiss Exchange.
This e-mail is of a private and personal nature. It is not related to
the exchange or business activities of the SWX Swiss Exchange. Le
présent e-mail est un message privé et personnel, sans rapport avec
l'activité boursière de la SWX Swiss Exchange.

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message