|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
  [2001-05-10 09:47 UTC] red at rosa dot com
 I have no chance to get php4.0.5 working with mod_perl (1.25). Some Child Processes are Segfaulting... I even tried to run 2 apache servers: one only with php and one with mod_perl and connect them with a ProxyPass... The apache processes with php are still crashing! I also tried every combination of dso and compiled in modules... Nothing helped. PHP4.0.5 was working fine until I tried to use mod_perl... ./configure --with-apxs=/usr/local/apache/bin/apxs --enable-xml --with-dom --with-gd --with-ttf --with-smtp --with-imap=/usr/local/src/imap-4.7 --enable-track-vars --enable-force-cgi-redirect --with-gettext --with-pgsql --with-mysql=/usr PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 18:00:01 2025 UTC | 
result of ldd: libm.so.6 => /lib/libm.so.6 (0x40019000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x40036000) libdb.so.3 => /lib/libdb.so.3 (0x40064000) libdl.so.2 => /lib/libdl.so.2 (0x4009e000) libc.so.6 => /lib/libc.so.6 (0x400a3000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) result of bt: #0 0x401beea7 in ?? () from /usr/local/apache/libexec/libphp4.so #1 0x401ba2f5 in ?? () from /usr/local/apache/libexec/libphp4.so #2 0x401bae07 in ?? () from /usr/local/apache/libexec/libphp4.so #3 0x405f0d5a in ?? () from /usr/local/apache/libexec/libphp4.so #4 0x4059e02c in ?? () from /usr/local/apache/libexec/libphp4.so #5 0x405f1023 in ?? () from /usr/local/apache/libexec/libphp4.so #6 0x4059ab64 in ?? () from /usr/local/apache/libexec/libphp4.so #7 0x4059e02c in ?? () from /usr/local/apache/libexec/libphp4.so #8 0x40598120 in ?? () from /usr/local/apache/libexec/libphp4.so #9 0x405afe99 in ?? () from /usr/local/apache/libexec/libphp4.so #10 0x405ace35 in ?? () from /usr/local/apache/libexec/libphp4.so #11 0x807620e in run_cleanups () #12 0x8074a3d in ap_clear_pool () #13 0x8074ab1 in ap_destroy_pool () #14 0x80846bd in child_main () #15 0x80847fc in make_child () #16 0x8084959 in startup_children () #17 0x8084f96 in standalone_main () #18 0x8085723 in main () #19 0x400bb9cb in __libc_start_main (main=0x80853dc <main>, argc=4, argv=0xbffff99c, init=0x804f494 <_init>, fini=0x80b9eac <_fini>, rtld_fini=0x4000aea0 <_dl_fini>, stack_end=0xbffff994) at ../sysdeps/generic/libc-start.c:92Done... ldd looks now like this: ldd /usr/local/apache/bin/httpd libpthread.so.0 => /lib/libpthread.so.0 (0x40019000) libm.so.6 => /lib/libm.so.6 (0x4002c000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x40049000) libdb.so.3 => /lib/libdb.so.3 (0x40077000) libdl.so.2 => /lib/libdl.so.2 (0x400b2000) libc.so.6 => /lib/libc.so.6 (0x400b6000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) I think I'll let it run now for a while and will check if it runs stable now... Bye the way could you please try to explain what I should do, that I don't have to care about libpthread in the future?