|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
  [2002-03-21 12:09 UTC] jnemmers at helix dot nih/gov
 I am running apache 1.3.23 on a 2.2.14-5.0sm kernel Linux system. While both PHP and mod_perl are loaded (both as DSO modules), any request that is not implicitly for a file causes the apache children to segfault. It will serve fine if you tell it you want http://server/index.php or http://server/index.pl, etc- but it will not work with just http://server/ I admit that the PHP module alone works, and the mod_perl alone works. I have been unable to get a backtrace. Conf options: Apache: ./configure --enable-module=so --enable-module=info PHP: ./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs (added -lz flag to $LDFLAGS variable in makefile) mod_perl: perl Makefile.PL USE_DSO=1 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 15:00:01 2025 UTC | 
I recompiled and installed apache with mod_perl as an internally compiled module. No change. Here is the backtrace: Program received signal SIGSEGV, Segmentation fault. 0x40289c0e in php_xbithack_handler (r=0x81e2c64) at mod_php4.c:777 777 conf = (php_apache_info_struct *) get_module_config(r->per_dir_config, &php4_module); (gdb) bt #0 0x40289c0e in php_xbithack_handler (r=0x81e2c64) at mod_php4.c:777 #1 0x808d0f3 in ap_invoke_handler () #2 0x80a17d9 in process_request_internal () #3 0x80a1bf8 in ap_internal_redirect () #4 0x80816ed in handle_dir () #5 0x808d0f3 in ap_invoke_handler () #6 0x80a17d9 in process_request_internal () #7 0x80a183c in ap_process_request () #8 0x8098bde in child_main () #9 0x8098d70 in make_child () #10 0x8098ec9 in startup_children () #11 0x8099526 in standalone_main () #12 0x8099ce3 in main () #13 0x4012c9cb in __libc_start_main (main=0x809999c <main>, argc=2, argv=0xbffffcb4, init=0x8053c00 <_init>, fini=0x80cef3c <_fini>, rtld_fini=0x4000aea0 <_dl_fini>, stack_end=0xbffffcac) at ../sysdeps/generic/libc-start.c:92