my php configure, should i also build the apache with debug ?
./configure \
--host=i686-pc-linux-gnu \
--build=i686-pc-linux-gnu \
--target=i686-redhat-linux-gnu \
--program-prefix= \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--sysconfdir=/etc \
--datadir=/usr/share \
--includedir=/usr/include \
--libdir=/usr/lib \
--libexecdir=/usr/libexec \
--localstatedir=/var \
--sharedstatedir=/usr/com \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--cache-file=../config.cache \
--with-config-file-path=/etc \
--with-config-file-scan-dir=/etc/php.d \
--enable-force-cgi-redirect \
--enable-debug \
--enable-pic \
--disable-rpath \
--enable-inline-optimization \
--with-bz2 \
--with-db4 \
--with-curl \
--with-dom=/usr \
--with-exec-dir=/usr/bin \
--with-freetype-dir=/usr \
--with-png-dir=/usr \
--with-gd \
--enable-gd-native-ttf \
--with-ttf \
--with-gdbm \
--with-gettext \
--with-ncurses \
--with-gmp \
--with-iconv \
--with-jpeg=/usr \
--with-jpeg-dir=/usr/lib \
--with-openssl \
--with-png \
--with-pspell \
--with-regex=system \
--with-xml \
--with-expat-dir=/usr \
--with-zlib \
--with-layout=GNU \
--enable-bcmath \
--enable-exif \
--enable-ftp \
--enable-mbstring \
--enable-magic-quotes \
--enable-safe-mode \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-discard-path \
--enable-track-vars \
--enable-trans-sid \
--enable-yp \
--enable-wddx \
--without-oci8 \
--with-pear=/usr/share/pear \
--with-mysql=shared,/usr \
--with-mcrypt=shared \
--enable-memory-limit \
--enable-bcmath \
--enable-shmop \
--enable-versioning \
--enable-calendar \
--enable-dbx \
--enable-dio \
--enable-mcal \
--with-gd2 \
--with-apxs2=/usr/sbin/apxs \
--with-imap=shared \
--with-imap-ssl \
--with-kerberos
On Thu, 2005-07-28 at 14:53 -0700, Rasmus Lerdorf wrote:
> Thomas Börnert wrote:
> > Here is the backtrace. Thanks for help. Thomas
> >
> > i started a test.php with one line <? echo "hallo"; ?>
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread -1208971136 (LWP 11454)]
> > 0xb7d0d1b6 in ?? () from /etc/httpd/modules/libphp4.so
> > (gdb) bt
> > #0 0xb7d0d1b6 in ?? () from /etc/httpd/modules/libphp4.so
> > #1 0xb7cca2de in ?? () from /etc/httpd/modules/libphp4.so
> > #2 0xb7c8d883 in ?? () from /etc/httpd/modules/libphp4.so
> > #3 0xb7c8d8ef in ?? () from /etc/httpd/modules/libphp4.so
> > #4 0xb7cc69f4 in ?? () from /etc/httpd/modules/libphp4.so
> > #5 0xb7cc6b32 in ?? () from /etc/httpd/modules/libphp4.so
> > #6 0xb7c43786 in ?? () from /etc/httpd/modules/libphp4.so
> > #7 0xb7d018f5 in ?? () from /etc/httpd/modules/libphp4.so
> > #8 0xb7d0e459 in ?? () from /etc/httpd/modules/libphp4.so
> > #9 0xb7d0d95c in ?? () from /etc/httpd/modules/libphp4.so
> > #10 0x08068a95 in ap_run_handler (r=0x82f4f68) at config.c:152
> > #11 0x080690a0 in ap_invoke_handler (r=0x82f4f68) at config.c:364
> > #12 0x0806594a in ap_process_request (r=0x82f4f68) at http_request.c:249
> > #13 0x08060cfd in ap_process_http_connection (c=0x82eed08) at
> > http_core.c:251
> > #14 0x08072945 in ap_run_process_connection (c=0x82eed08) at
> > connection.c:43
> > #15 0x08067064 in child_main (child_num_arg=0) at prefork.c:610
> > #16 0x0806727b in make_child (s=0x0, slot=0) at prefork.c:650
> > #17 0x080672d8 in startup_children (number_to_start=8) at prefork.c:722
> > #18 0x08067b7a in ap_mpm_run (_pconf=0x80a00a8, plog=0x80ca150, s=0x0)
> > at prefork.c:941
> > #19 0x0806e0ed in main (argc=2, argv=0xbfb12c64) at main.c:618
> > (gdb)
>
> Hrm.. Without debugging symbols that doesn't tell us much. Any chance
> you can build an unstripped libphp4.so?
>
> -Rasmus
--
Mit freundlichen Grüßen
Best regards
Thomas Börnert
Geschäftsführer
Senior IT Consultant & Manager
BSI lizenzierter IT-Grundschutz Auditor
DO NOT GIVE OUR ADDRESS TO THIRD PARTYS, WE HATE JUNK-MAIL
___________________________________________________________________
TBits.net GmbH | Telefon: +49 (0)7172 18391-0
Thomas Börnert | Telefax: +49 (0)7172 18391-99
Seeweg 6 | Service: +49 (0)700 TBITSNET
D-73553 Alfdorf | Auto: +49 (0)170 6744415
www.tbits.net | eMail: [EMAIL PROTECTED]
Key fingerprint = 8602 2EF5 78FD 3C04 B148 2506 5D4F 6A49 E4E2 9D15