php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4437 Apache won't start with php4 and ibm-db2 support
Submitted: 2000-05-13 08:31 UTC Modified: 2000-05-22 05:37 UTC
From: marco at wildape dot com Assigned:
Status: Closed Package: ODBC related
PHP Version: 4.0 Release Candidate 2 OS: Linux (Mandrake 7.0)
Private report: No CVE-ID: None
 [2000-05-13 08:31 UTC] marco at wildape dot com
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.

Thanks in advance

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-05-22 05:37 UTC] marco at wildape dot com
Hello

The problem wasn't a problem of php4, but a problem in the glibc 2.1.2. 
I installed the latest glibc 2.1.3 (out of the mandrake 7.1-beta2) .

Before I started the configure tool for apache (via mod_ssl) I set the 
LDFLAGS to '-lpthread -L/home/db2inst1/sqllib/lib -ldb2'

After the compiling and installing everything worked.


After several tests, we opend a bottle of champagne to selobrate :-)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 16:01:30 2024 UTC