|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34716 ODBCconnect & Segmentation fault
Submitted: 2005-10-03 12:09 UTC Modified: 2005-10-11 01:00 UTC
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: angelo dot courtel at cordonweb dot com Assigned:
Status: No Feedback Package: ODBC related
PHP Version: 5.0.5 OS: Linux FC4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: angelo dot courtel at cordonweb dot com
New email:
PHP Version: OS:


 [2005-10-03 12:09 UTC] angelo dot courtel at cordonweb dot com

I try to connect a Linux computer with an Informix database using an ODBC component.

First I try, to test the ODBC connectivity with PHP, with a MySQL database.

I've successfully installed unixODBC, I've been confgured it, and the ODBC driver for the MySQL databse works fine when I try to connect it in terminal mode with the isql command.

But when I use the function ODBCconnect() in my PHP script, the connection failed. And if I execute the script in terminal the error is "Segmentation fault".

I don't know why, the Apache server is normally configure to work with ODBC because the configure string contains : 

But I think the PHP not communicate fine with ODBC.

Actual result:
Segmentation fault


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-10-03 12:11 UTC]
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

 [2005-10-11 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Dec 07 03:01:28 2023 UTC