Apache core dumps when started with php4_module on FreeBSD 5.1

From: ME (trash.trash_at_comcastdotnet)
Date: 10/30/03


Date: Wed, 29 Oct 2003 22:14:57 -0700

I'm not certain which category this problem will fall into (OS or
Application) so I am posting to both.

I can not seem to get Apache to start up at all with php4. If I remove the
php4 line from my httpd.conf file apache starts up just fine (cept no php,
which prettymuch makes it useless to me). If I add it Apache core dumps
immediatly after I start it up.

************** Here is the httpd.core **************

prompt# gdb /usr/local/sbin/httpd /httpd.core
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-undermydesk-freebsd"...(no debugging
symbols found)...
Core was generated by `httpd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libcrypt.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libcrypt.so.2
Reading symbols from /usr/local/lib/libexpat.so.4...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libexpat.so.4
Reading symbols from /usr/lib/libc.so.5...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libc.so.5
Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/libexec/ld-elf.so.1
#0 0x28a9a570 in ?? ()

***************** HTTPD.CONF *******************
Timeout 200
KeepAlive 5
MaxKeepAliveRequests 50
KeepAliveTimeout 15
Listen 80
NameVirtualHost *
MinSpareServers 10
MaxSpareServers 20
StartServers 10
MaxClients 50
MaxRequestsPerChild 10000

LoadModule access_module "/usr/local/libexec/apache/mod_access.so"
LoadModule rewrite_module "/usr/local/libexec/apache/mod_rewrite.so"
LoadModule mime_module "/usr/local/libexec/apache/mod_mime.so"
LoadModule autoindex_module "/usr/local/libexec/apache/mod_autoindex.so"
LoadModule status_module "/usr/local/libexec/apache/mod_status.so"
LoadModule alias_module "/usr/local/libexec/apache/mod_alias.so"
LoadModule userdir_module "/usr/local/libexec/apache/mod_userdir.so"
LoadModule dir_module "/usr/local/libexec/apache/mod_dir.so"
LoadModule php4_module "/usr/local/libexec/apache/libphp4.so"

#---> Main server parameters <---#

ServerName matt.domainname.com
ServerAdmin email@email.com
DocumentRoot "/usr/local/www"
UserDir "/home/*"
DirectoryIndex index.html index.htm index.php
ErrorLog "/var/log/httpd-error.log"
LogLevel debug
Options None
ServerSignature on

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

<VirtualHost *>
  Options +MultiViews +ExecCGI +Includes
  ServerName matt.domainname.com
  DocumentRoot "/usr/local/www/main"
  DirectoryIndex index.php
  ErrorLog "/var/log/www-matt.domainname.com.log"
  LogLevel warn
</VirtualHost>



Relevant Pages

  • Apache core dumps when started with php4_module on FreeBSD 5.1
    ... I can not seem to get Apache to start up at all with php4. ... Reading symbols from /usr/local/lib/libexpat.so.4...(no debugging symbols ... Loaded symbols for /usr/local/lib/libexpat.so.4 ...
    (comp.unix.bsd.freebsd.misc)
  • While runsocks telnet£¬core dumped
    ... I checked the log and gdb the core file, ... Reading symbols from /usr/lib/libutil.so.3...(no debugging symbols ... Loaded symbols for /usr/lib/libutil.so.3 ...
    (comp.unix.bsd.freebsd.misc)
  • [Full-disclosure] HP Tru64 dtmail bug - Really exploitable?
    ... we got execution flow directed to our RET address ... Reading symbols from /sbin/loader...(no debugging symbols found)...done. ... Reading symbols from /usr/shlib/libXmu.so...(no debugging symbols ... Loaded symbols for /usr/shlib/libXmu.so ...
    (Full-Disclosure)
  • Fwd: HP Tru64 dtmail bug - Really exploitable?
    ... Perhaps somebody with more skills at Tru64 exploitation could comment on ... Reading symbols from /sbin/loader...(no debugging symbols found)...done. ... Reading symbols from /usr/shlib/libXmu.so...(no debugging symbols ... Loaded symbols for /usr/shlib/libXmu.so ...
    (Vuln-Dev)
  • [Fwd: Firefox exited on signal 11.]
    ... GDB is free software, covered by the GNU General Public License, and you are ... This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols ... Reading symbols from /usr/X11R6/lib/firefox/libmozjs.so...(no debugging ... Loaded symbols for /usr/X11R6/lib/firefox/libmozjs.so ...
    (freebsd-stable)