Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Jul 2008 00:32:18 -0400
From:      kalin m <kalin@el.net>
To:        freebsd-questions@freebsd.org, users@httpd.apache.org
Subject:   httpd php dump 
Message-ID:  <486B04D2.8050700@el.net>

next in thread | raw e-mail | index | archive | help
ok... 

what to do?

freebsd 7; httpd 2.2.9; php5.2.6 (or 5.1.2)


if the line:
LoadModule php5_module        modules/libphp5.so

is in the httpd.conf httpd dumps core. no matter which version of php.

php was configured with just this : ./configure 
--with-mysql=/usr/local/mysql --with-apxs2=/etc/httpd/bin/apxs

here is some relevant information:

# gdb /etc/httpd/bin/httpd httpd.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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 "amd64-marcel-freebsd"...
Core was generated by `httpd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /etc/httpd/lib/libaprutil-1.so.3...done.
Loaded symbols for /etc/httpd/lib/libaprutil-1.so.3
Reading symbols from /etc/httpd/lib/libexpat.so.1...done.
Loaded symbols for /etc/httpd/lib/libexpat.so.1
Reading symbols from /etc/httpd/lib/libapr-1.so.3...done.
Loaded symbols for /etc/httpd/lib/libapr-1.so.3
Reading symbols from /lib/libcrypt.so.4...done.
Loaded symbols for /lib/libcrypt.so.4
Reading symbols from /lib/libthr.so.3...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /etc/httpd/modules/libphp5.so...done.
Loaded symbols for /etc/httpd/modules/libphp5.so
Reading symbols from /usr/local/mysql/lib/mysql/libmysqlclient.so.15...done.
Loaded symbols for /usr/local/mysql/lib/mysql/libmysqlclient.so.15
Reading symbols from /usr/local/lib/libxml2.so.5...done.
Loaded symbols for /usr/local/lib/libxml2.so.5
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /lib/libz.so.4...done.
Loaded symbols for /lib/libz.so.4
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x00000008004a8060 in ?? ()
[New Thread 0x801101120 (LWP 100329)]
(gdb)


# httpd -l
Compiled in modules:
  core.c
  mod_authn_file.c
  mod_authn_default.c
  mod_authz_host.c
  mod_authz_groupfile.c
  mod_authz_user.c
  mod_authz_default.c
  mod_auth_basic.c
  mod_include.c
  mod_filter.c
  mod_log_config.c
  mod_env.c
  mod_headers.c
  mod_unique_id.c
  mod_setenvif.c
  mod_ssl.c
  prefork.c
  http_core.c
  mod_mime.c
  mod_status.c
  mod_autoindex.c
  mod_asis.c
  mod_cgi.c
  mod_negotiation.c
  mod_dir.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_rewrite.c
  mod_so.c


so...  yea....  what to do? ?!?

thanks...






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?486B04D2.8050700>