PHP 4.0 Bug #7501: apache dies at startup with php enabled

From: Date: Sat, 28 Oct 2000 03:40:17 +0000
Subject: PHP 4.0 Bug #7501: apache dies at startup with php enabled
Groups: php.dev 
Request: Send a blank email to php-dev+get-36176@lists.php.net to get a copy of this message
From: traindrv_@hotmail.com Operating system: Linux 2.2.14 / RedHat 6.2 PHP version: 4.0.3pl1 PHP Bug Type: Apache related Bug description: apache dies at startup with php enabled Apache 1.3.14 dies on start up (apachectl start) if the PHP module is enabled. To make it work the following sequence of operations are needed: - comment out php module from httpd.conf - apachectl start - uncomment php moudle in httpd.conf - apachectl restart Then PHP works very happily. It occasionally manages to load on start-up, but very seldom. We've seen this problem on a couple of machines. Here's the gdb info (gdb) run -X Starting program: /usr/sbin/httpd -X Cannot access memory at address 0x4046cb14 (gdb) bt #0 0x4000af21 in _dl_debug_state () at dl-debug.c:56 #1 0x40180156 in _dl_close (map=0x80bbb50) at dl-close.c:195 #2 0x4009e430 in dlclose_doit (handle=0x80bbb50) at dlclose.c:26 #3 0x4000ac3b in _dl_catch_error (errstring=0x400a0080, operate=0x4009e418 <dlclose_doit>, args=0x80bbb50) at dl-error.c:141 #4 0x4009e8b9 in _dlerror_run (operate=0x4009e418 <dlclose_doit>, args=0x80bbb50) at dlerror.c:125 #5 0x4009e3fe in dlclose (handle=0x80bbb50) at dlclose.c:32 #6 0x8070160 in ap_os_dso_unload () at ltdl.c:1409 #7 0x804f3b0 in unload_module () at ltdl.c:1409 #8 0x805116e in run_cleanups () at ltdl.c:1409 #9 0x804f99d in ap_clear_pool () at ltdl.c:1409 #10 0x805fd73 in standalone_main () at ltdl.c:1409 #11 0x8060613 in main () at ltdl.c:1409 #12 0x400b99cb in __libc_start_main (main=0x80602cc <main>, argc=2, argv=0xbffffb84, init=0x804e994 <_init>, fini=0x809499c <_fini>, rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbffffb7c) at ../sysdeps/generic/libc-start.c:92 -- Edit Bug report at: http://bugs.php.net/?id=7501&edit=1

« previous php.dev (#36176) next »