|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
2 + 16 = ?
Subscribe to this entry?

 [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-2021 The PHP Group
All rights reserved.
Last updated: Fri Sep 24 16:03:41 2021 UTC