|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-11-01 09:45 UTC] sniper@php.net
[2000-12-05 01:54 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 07:00:02 2025 UTC |
My Apache 1.3.12 server using mod_perl 1.24 (statically linked) and PHP 4.0.2 (dynamic module (.so)) crashes as soon as I access *any* data on the server. "lynx localhost" reports "network errors", and then quits. Netscape just reports that the document is empty. If I rebuild Apache and leave out mod_perl, everything is fine. If I leave mod_perl in but don't load the PHP module (i.e., comment out the line in httpd.conf) everything is fine as well (except I don't have PHP). If I check /usr/local/apache/logs/error_log, it says: "Apache/1.3.12 (Unix) PHP/4.0.2 mod_perl/1.24 configured -- resuming normal operations". As soon as I access the server, a new line is added: "child pid xxx exit signal Segmentation fault (11)" Here's the gdb backtrack output: #0 0x4039023a in ?? () from /usr/local/apache/libexec/libphp4.so #1 0x80976b3 in ap_invoke_handler () #2 0x80aacc9 in process_request_internal () #3 0x80ab0e8 in ap_internal_redirect () #4 0x8074ffd in handle_dir () #5 0x80976b3 in ap_invoke_handler () #6 0x80aacc9 in process_request_internal () #7 0x80aad2c in ap_process_request () #8 0x80a25ce in child_main () #9 0x80a275c in make_child () #10 0x80a28b9 in startup_children () #11 0x80a2ee6 in standalone_main () #12 0x80a3673 in main () #13 0x400d79cb in __libc_start_main (main=0x80a332c <main>, argc=3, argv=0xbffffb24, init=0x80627d0 <_init>, fini=0x814f61c <_fini>, rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbffffb1c) at ../sysdeps/generic/libc-start.c:92 PHP build was configured with: ./configure --with-mysql=/usr/local --with-apxs=/usr/local/apache/bin/apxs No warnings at the end (i.e. no warning about e.g. a corrupted apxs script) Built with just: make , followed by: make install The php.ini file was just copied and renamed from php.ini-dist Apache 1.3.12 was compiled with all default modules, with mod_so and mod_perl added. The only thing I changed in httpd.conf is the server name (set to www) mod_perl is version 1.24, build without any special options. I use mysql 3.22.32. No additional options during build, just configure, make, make install. I'm sorry if this is not a bug but is just an error on my side. However, I have read a bunch of faqs and have recompiled all required components several times using several different docs as a guide, but I still end up having the same problem. If you need any more information, please contact me via e-mail.