Date: 05/15/00
- Next message: Ulf Wendel: "Re: [PHP-DEV] javadoc, phpdoc, XML, and PEAR"
- Previous message: Denis Liard: "Re: [PHP-DEV] PHP 4.0 Bug #4437: Apache won't start with php4 and ibm-db2 support"
- In reply to: marco <email protected>: "[PHP-DEV] PHP 4.0 Bug #4437: Apache won't start with php4 and ibm-db2 support"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, May 13, 2000 at 12:31:10PM -0000, marco <email protected> wrote:
> From: marco <email protected>
> 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 <email protected>
> For additional commands, e-mail: php-dev-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
--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
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Ulf Wendel: "Re: [PHP-DEV] javadoc, phpdoc, XML, and PEAR"
- Previous message: Denis Liard: "Re: [PHP-DEV] PHP 4.0 Bug #4437: Apache won't start with php4 and ibm-db2 support"
- In reply to: marco <email protected>: "[PHP-DEV] PHP 4.0 Bug #4437: Apache won't start with php4 and ibm-db2 support"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

