|  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
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 + 8 = ?
Subscribe to this entry?

 [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: Sun Sep 24 10:01:24 2023 UTC