Re: PHP 4.0 Bug #4437: Apache won't start with php4 and ibm-db2 support

From: Date: Mon, 15 May 2000 11:58:38 +0000
Subject: Re: PHP 4.0 Bug #4437: Apache won't start with php4 and ibm-db2 support
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-18757@lists.php.net to get a copy of this message
On Sat, May 13, 2000 at 12:31:10PM -0000, marco@wildape.com wrote: > From: marco@wildape.com > Operating system: Linux (Mandrake 7.0) > PHP version: 4.0 Release Candidate 2 > PHP Bug Type: ODBC related > Bug description: Apache won't start with php4 and ibm-db2 support > > Hello > > I compiled php4-RC2 with: > ./configure --with-apxs=/usr/local/apache/bin/apxs --with-ibm-db2 > (I also tried it with more options, without better results) > > Added a -L/usr/IBMdb2/V6.1/lib in the Makefile > > The module compiles correctly. But when I install the module and try to start apache, the > apachectl says it is alright, but there is no httpd started. When I try to start a httpd by hand it > also looks oke, but it stops directly without leaving some childs or an error message, even nothing > in the error-log or /var/log/messages. > > When I compile php4 without ibm-db2 everything works correctly. > > I'm running on apache-1.3.12. > > Please mail me if you have a suggestion, or a possible fix, or a way to debug the code. please add -lpthread to your LDFLAGS when compiling apache. i have a similar problem where one of the libs i link my php with includes references to libpthread and apache dies when loading libphp4.so. it worked for me after adding -lpthread when linking the httpd executable. (i know it's a pain to do if you want to use the vendor supplied apache - but that seems to solve the problem!) tc > > Thanks in advance > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.dev (#18757) next »