ID: 28008 Updated by: [EMAIL PROTECTED] Reported By: dzila at tassadar dot physics dot auth dot gr -Status: Open +Status: Bogus Bug Type: Apache2 related Operating System: Slackware 8 , kernel 2.4.25 PHP Version: 4CVS-2004-04-15 (stable) New Comment:
You have misconfigured PHP in the httpd.conf. Please ask support questions elsewhere. Previous Comments: ------------------------------------------------------------------------ [2004-04-15 10:43:21] dzila at tassadar dot physics dot auth dot gr Description: ------------ I am compiling apache2 and php for the first time. Every time a php page is accessed the apache child segfaults and no php page can be displayed. I tried with 4.3.5 and the latest 4 snap.Non php pages work fine /configure --with-apxs2=/disk2/daemons/www2/bin/apxs --with-openssl --enable-cli --enable-ftp --with-zlib --with-zip --with-mysql=/disk2/daemons/mysql --enable-debug (also tried only with-apxs and no other options , --with-mysql on its on, same results) I am launching apache2 because I want ipv6 enabled web server , I tried binding it to both ipv6 and ipv4 addresses with same results Reproduce code: --------------- a postnuke site which works ok with apache 1.3 Actual result: -------------- gdb ./httpd GNU gdb 5.0 Copyright 2000 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-slackware-linux"... (gdb) run -X Starting program: /disk2/daemons/www2/bin/./httpd -X warning: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code. Program received signal SIGSEGV, Segmentation fault. 0x82e3d76 in ?? () (gdb) bt #0 0x82e3d76 in ?? () #1 0x405e9ed0 in ?? () #2 0x405e962e in ?? () #3 0x405e98c3 in ?? () #4 0x403868c3 in getservbyname_r () from /lib/libc.so.6 #5 0x40386771 in getservbyname () from /lib/libc.so.6 #6 0x4056c3bf in ?? () #7 0x4056eeb4 in ?? () #8 0x403fe0a6 in ?? () #9 0x403fe3c5 in ?? () #10 0x405128e2 in ?? () #11 0x40512b2c in ?? () #12 0x40512b2c in ?? () #13 0x40512b2c in ?? () #14 0x40512b2c in ?? () #15 0x404ff484 in ?? () #16 0x404c310c in ?? () #17 0x4051939c in ?? () #18 0x8097929 in ap_run_handler (r=0x81b2f80) at config.c:151 #19 0x8097e73 in ap_invoke_handler (r=0x81b2f80) at config.c:358 #20 0x8087a76 in ap_process_request (r=0x81b2f80) at http_request.c:246 #21 0x808393a in ap_process_http_connection (c=0x81aef50) at http_core.c:250 #22 0x80a0e88 in ap_run_process_connection (c=0x81aef50) at connection.c:42 #23 0x80a115c in ap_process_connection (c=0x81aef50, csd=0x81aee78) at connection.c:175 #24 0x80965b0 in child_main (child_num_arg=0) at prefork.c:609 #25 0x809666c in make_child (s=0x80df138, slot=0) at prefork.c:649 #26 0x8096761 in startup_children (number_to_start=5) at prefork.c:721 #27 0x8096a63 in ap_mpm_run (_pconf=0x80dc270,plog=0x8114350, s=0x80df138) at prefork.c:940 #28 0x809c26e in main (argc=2, argv=0xbffffa04) at ain.c:617 #29 0x402c82eb in __libc_start_main () from /lib/libc.so.6 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28008&edit=1