Bug #67525 [NEW]: odbc_connect not work with odbc 32 bits
| From: | gvargas at jebla dot com | Date: | Thu, 26 Jun 2014 19:33:52 +0000 |
| Subject: | Bug #67525 [NEW]: odbc_connect not work with odbc 32 bits | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-186352@lists.php.net to get a copy of this message | ||
From: gvargas at jebla dot com
Operating system: Windows 7 64 bits
PHP version: 5.5.13
Package: PDO ODBC
Bug Type: Bug
Bug description:odbc_connect not work with odbc 32 bits
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
{
}
--
Edit bug report at https://bugs.php.net/bug.php?id=67525&edit=1
--