php.net |  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
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
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
Have you experienced this issue?
Rate the importance of this bug to you:

 [2014-06-26 19:33 UTC] gvargas at jebla dot com
Description:
------------
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.

Gabriel

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

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

if(!$conn)
{
}
else
{
}


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-07-01 08:13 UTC] ab@php.net
-Status: Open +Status: Feedback
 [2014-07-01 08:13 UTC] ab@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 18:01:28 2024 UTC