note 26458 added to function.odbc-connect

From: Date: Thu, 31 Oct 2002 10:31:52 +0000
Subject: note 26458 added to function.odbc-connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-38823@lists.php.net to get a copy of this message
If you have switched to a new Version of PHP (from 4.1 to 4.3) and at the same time have upgraded your Apache server (from 1.x to 2.x) and suddenly get the error: "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified, SQL state IM002 in SQLConnect" It may be because you have your ODBC connections listed (Control Panel | ODBC) as User DSN rather than System DSN. They need to be System DSN in order for the PHP in the Apache service to access to them. -- http://www.php.net/manual/en/function.odbc-connect.php http://master.php.net/manage/user-notes.php?action=edit+26458 http://master.php.net/manage/user-notes.php?action=delete+26458 http://master.php.net/manage/user-notes.php?action=reject+26458

« previous php.notes (#38823) next »