Bug #67525 [Opn->Fbk]: odbc_connect not work with odbc 32 bits

From: Date: Tue, 01 Jul 2014 08:13:20 +0000
Subject: Bug #67525 [Opn->Fbk]: odbc_connect not work with odbc 32 bits
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-186405@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67525&edit=1 ID: 67525 Updated by: ab@php.net Reported by: gvargas at jebla dot com Summary: odbc_connect not work with odbc 32 bits -Status: Open +Status: Feedback Type: Bug Package: PDO ODBC Operating System: Windows 7 64 bits PHP Version: 5.5.13 Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2014-06-26 19:33:51] 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 { } ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=67525&edit=1

« previous php.bugs (#186405) next »