|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67525 odbc_connect not work with odbc 32 bits
Submitted: 2014-06-26 19:33 UTC Modified: 2014-12-30 10:42 UTC
From: gvargas at jebla dot com Assigned:
Status: No Feedback Package: PDO ODBC
PHP Version: 5.5.13 OS: Windows 7 64 bits
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: gvargas at jebla dot com
New email:
PHP Version: OS:


 [2014-06-26 19:33 UTC] gvargas at jebla dot com
I'm working with wamp 2.5 ( Apache 2.4.9, PhP 5.5.12, Mysql 5.6.17 ) on Windows 7 64 bits. I'm using adaptive server anywhere 6.0 (32 bits) and adaptive server anywhere 11 (64 bits). ASA 6.0 only works with odbc 32 bits (i think so). i create a odbc system dsn with ASA 6.0 drive and when i test it, the conexion is successful but, in my script, using odbc_connect, php return a warning error with this description:
Warning: odbc_connect(): in C:\wamp\www\appdistoweb\test.php on line 16

I appreciate your attention.


Test script:
$dsn = "php_source";
$usr = "dba";
$pwd = "sql";

$conn = odbc_connect( $dsn,$usr,$pwd);



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-07-01 08:13 UTC]
-Status: Open +Status: Feedback
 [2014-07-01 08:13 UTC]
Please check that the corresponding ODBC drivers are available on your system, control panel => administrative tools => odbc data sources . The drivers bitness has to correspond to the PHP build you use. If this is in order, then you probably need to talk to sybase for the further support.
 [2014-12-30 10:42 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Sep 29 15:01:25 2023 UTC