php.net |  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
Votes:1
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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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
Description:
------------
Hi,

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 : 
'--with-unixODBC=shared,/usr'

But I think the PHP not communicate fine with ODBC.


Actual result:
--------------
Segmentation fault

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-10-03 12:11 UTC] tony2001@php.net
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
http://bugs.php.net/bugs-generating-backtrace.php

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC