php3 runs only ok when starting apache without it, enabling it and then restarting apache, otherwise core is dumped

From: Date: Tue, 11 Apr 2000 06:16:23 +0000
Subject: php3 runs only ok when starting apache without it, enabling it and then restarting apache, otherwise core is dumped
Groups: php.dev 
Request: Send a blank email to php-dev+get-17792@lists.php.net to get a copy of this message
Hello, I have the following problem: 1. When I start Apache (1.3.12) with PHP3 ENabled in httpd.conf, I receive a core file (pls take a look at the end of this mail) and no webserver started ;-(( 2. When I start Apache (1.3.12) with PHP3 DISabled in httpd.conf, everything is alright. And when I then ENable PHP3 in httpd.conf and do a restart (no stop/start!!) PHP3 is running! (/usr/local/apache/bin/apachectl restart) I am using php-3.0.15 on RedHat 6.0, Kernel 2.2.5, Apache 1.3.12. Why does it only run correctly when first starting with php3 disabled and then enabling and doing a restart ??? BTW, the 'make install' from php3 placed the AddModule and LoadModule line for php at the end of its respective block, it does not matter if there's an AddType line for PHP or not. Should I load PHP earlier when starting apache ? Thanks in advance for your help, Sascha >>>>>>>>>> root@eagle /usr/local/apache/bin >>>>>>>>>> <<<<<<<<<< #gdb httpd GNU gdb 4.17.0.11 with Linux support Copyright 1998 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-redhat-linux"... (no debugging symbols found)... (gdb) run -X Starting program: /usr/local/apache/bin/httpd -X Cannot access memory at address 0x403830d0. (gdb) bt #0 0x4000a411 in _dl_debug_state () at dl-debug.c:56 #1 0x40177dfc in _dl_close (map=0x80bdb50) at dl-close.c:192 #2 0x4009c0c0 in dlclose_doit (handle=0x80bdb50) at dlclose.c:26 #3 0x4000a12b in _dl_catch_error (errstring=0x4009dd00, operate=0x4009c0a8 <dlclose_doit>, args=0x80bdb50) at dl-error.c:141 #4 0x4009c608 in _dlerror_run (operate=0x4009c0a8 <dlclose_doit>, args=0x80bdb50) at dlerror.c:122 #5 0x4009c08e in dlclose (handle=0x80bdb50) at dlclose.c:32 #6 0x806f9c0 in ap_os_dso_unload () #7 0x80 4f2e0 in ap_get_server_built () #8 0x805108e in ap_run_cleanup () #9 0x804f8bd in ap_clear_pool () #10 0x805f993 in ap_child_terminate () #11 0x8060233 in main () #12 0x400b6cb3 in __libc_start_main (main=0x805feec <main>, argc=2, argv=0xbffffd74, init=0x804e8e0 <_init>, fini=0x809420c <_fini>, rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffd6c) at ../sysdeps/generic/libc-start.c:78 (gdb) q The program is running. Exit anyway? (y or n) y >>>>>>>>>> root@eagle /usr/local/apache/bin >>>>>>>>>> <<<<<<<<<<

« previous php.dev (#17792) next »