Bug #10945 Updated: Apache core dumps when PHP4.0.5 is activated via LoadModule

From: Date: Fri, 18 May 2001 05:36:47 +0000
Subject: Bug #10945 Updated: Apache core dumps when PHP4.0.5 is activated via LoadModule
Groups: php.dev 
Request: Send a blank email to php-dev+get-55706@lists.php.net to get a copy of this message
ID: 10945 Updated by: rasmus Reported By: morgan@hecate.pdnt.net Status: Analyzed Bug Type: Apache related Operating system: PHP Version: 4.0.5 Assigned To: Comments: There is no "supported list". But, obviously operating systems that are more common end up getting more attention and more testing. AIX is near the bottom of that list. Previous Comments: --------------------------------------------------------------------------- [2001-05-18 01:29:51] morgan@hecate.pdnt.net Tried recompiling everything with IBM Visual Age C v5.01. No change. I also tried linking with the pthread library for the httpd binary, like rasmus@php.net said to try, but no luck. Quick question: is AIX on the "supported" list ?? Is this supposed to work ?? --Morgan morgan@hecate.pdnt.net --------------------------------------------------------------------------- [2001-05-17 21:49:55] rasmus@php.net On systems that use glibc-2.1.x there is a bug in glibc that prevents a binary not linked against pthreads to dynamically load a shared library that is linked against pthreads. Perhaps this problem also exists on AIX? Try linking your Apache httpd against libpthreads. --------------------------------------------------------------------------- [2001-05-17 20:57:44] morgan@hecate.pdnt.net Apache-1.3.19 compiles clean under gcc-2.95.3 with: $ ./configure --prefix=/opt/apache --enable-module=so <junk deleted> $ make <junk deleted> # make install <junk deleted> Apache starts cleanly and generally works fine. PHP4.0.5 compiles clean under gcc-2.95.3 with: $ ./configure --prefix=/opt/php --with-apxs=/opt/apache/bin/apxs --with-mysql=/opt/mysql <junk deleted> $ make <junk deleted> # make install <junk deleted> Howver when I stop Apache and start it back up again, it doesn't start. It dumps core. When I rem out the LoadModule directive for the php module in httpd.conf, Apache starts up fine. [ FYI: it's MySQL 3.23.34a (--prefix=/opt/mysql --with-pthreads) ] Any suggections on how to troubleshoot it ? If you have a use for the core, I can send it to you. More info: RS/6000-43P/132 AIX 4.3.3 (maintenance update 8) gcc-2.95.3 Only other software installed on the system is GNU make-3.79.1 and bash-2.04. Any help is greatly appreciated. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10945&edit=2

« previous php.dev (#55706) next »