|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2007-03-13 19:12 UTC] tony2001@php.net
  [2007-03-13 19:53 UTC] callahal at vaniercollege dot qc dot ca
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 05:00:02 2025 UTC | 
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