#19639 [Ctl->Csd]: PHP crashes apache on restart of the webserver

From: Date: Fri, 11 Oct 2002 16:21:58 +0000
Subject: #19639 [Ctl->Csd]: PHP crashes apache on restart of the webserver
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-22167@lists.php.net to get a copy of this message
ID: 19639 Updated by: iliaa@php.net Reported By: wzanatta@uol.com.br -Status: Critical +Status: Closed Bug Type: Apache2 related Operating System: Slackware 8.1 - Linux 2.4.19 PHP Version: 4.2.3 and CVS-snaps New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. User reported that the problem has been fixed. Previous Comments: ------------------------------------------------------------------------ [2002-10-11 09:30:31] wzanatta@uol.com.br Could not reproduce the apache restart issue on Solaris 7 SPARC. There, it works fine!!! ------------------------------------------------------------------------ [2002-10-09 07:56:02] thejoyoflinux@yahoo.com I have this problem to. I have to completely stop apache, then start it again to "restart" it. ------------------------------------------------------------------------ [2002-10-08 08:50:20] wzanatta@uol.com.br If helps, isolated the problem on 'make install-pear'... ---------------------------------------------------------- Installing PEAR environment: /usr/local/php/lib/pear/ /usr/src/ServerSoftware/PHP/php4-200210080300/sapi/cli/php: relocation error: /usr/local/php/lib/php/extensions/no-debug-non-zts-20020429/xml.so: undefined symbol: XML_ParserCreate make[1]: *** [install-pear-installer] Error 127 make: *** [install-pear] Error 2 ---------------------------------------------------------- ------------------------------------------------------------------------ [2002-10-08 08:14:51] wzanatta@uol.com.br Well, don't know whether this one deserves a new issue but let me try... I got PHP compiled after changing to static zlib support. Now I get the following when I do a 'make install': (cvs php4-200210071500) ----------------------------------------------------------- Installing shared extensions: /usr/local/php/lib/php/extensions/no-debug-non-zts-20020429/ Installing PHP CLI binary: /usr/local/php/bin/ Installing PEAR environment: /usr/local/php/lib/pear/ /usr/src/ServerSoftware/PHP/php4-200210071500/sapi/cli/php: relocation error: /usr/local/php/lib/php/extensions/no-debug-non-zts-20020429/xml.so: undefined symbol: XML_ParserCreate make[1]: *** [install-pear-installer] Error 127 make: *** [install-pear] Error 2 ----------------------------------------------------------- At this time I'm getting the lastest CVS to try again. ------------------------------------------------------------------------ [2002-10-07 18:36:30] sniper@php.net Building zlib as shared module SHOULD work...you just confirmed what I was suspecting to be the bug. What happens is that we are have some code in that main php libs which rely on zlib been linked with it. And when you compile it as shared extension, zlib is not linked with the main library/binary but only with the extension. Setting as critical and will look into this soon. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/19639 -- Edit this bug report at http://bugs.php.net/?id=19639&edit=1

« previous php.bugs (#22167) next »