From:             callahal at vaniercollege dot qc dot ca
Operating system: Windows 2003 svr std
PHP version:      5.2.1
PHP Bug Type:     ODBC related
Bug description:  ODBC connect fails using 

Description:
------------
Setup is
Windows 2003 Server STD, IIS6, PHP 5.2.1
using php-cgi.exe I cannoct connect to my system dsn datasource
which, as shown, is the northwind sample database on Ms_SQL Server 2000.
If I use php5isapi.dll, everything works fine.
However I prefer to use the php-cgi.exe.

All of php.exe, php-cgi.exe and php5isapi.dll work fine with ODBC connects
with PHP version 5.2.0.

 


Reproduce code:
---------------
if($odbc_db = odbc_connect('Northwind', 'sample', 'sample')){
        echo "Connected AOK". eol ;
}else{
        die("Could not connect to ODBC data source Northwind");
}

Expected result:
----------------
I should connect


-- 
Edit bug report at http://bugs.php.net/?id=40796&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=40796&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=40796&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=40796&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=40796&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=40796&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=40796&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=40796&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=40796&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=40796&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=40796&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=40796&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=40796&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=40796&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=40796&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=40796&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=40796&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=40796&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=40796&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=40796&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=40796&r=mysqlcfg

Reply via email to