Bonjour,

Encore un topic pour arriver à établir une connexion sur un serveur SQL Server.
J'utilise PHP Version 5.3.1, en mode CGI/FastCGI, et Thread Safety installé (VC9).
Je ne peux pas modifier downgrader ma version de php (comme certain le proposait).
J'ai également installé SQL Server 2008 Native Client ODBC.

J'ai pu intégrer sqlsrv via les dll fourni par SQL Server 2005 Driver for PHP de Microsoft.
Via la phpinfo() , il est bien pris en compte.
La commande mssql_connect ne donne aucun résultat et me stop le chargement de la page.
La commande sqlsvr_connect me génère une erreur m'informant que "SQL Server 2008 Native Client ODBC " n'est pas installé.


Array ( [0] => Array ( [0] => IMSSP [SQLSTATE] => IMSSP [1] => -1 [code] => -1 [2] => This extension requires the SQL Server 2008 Native Client ODBC Driver (SP1 or later) to communicate with SQL Server. That ODBC Driver is not currently installed. Access the following URL to download the SQL Server 2008 Native Client ODBC driver for x86: http://go.microsoft.com/fwlink/?LinkId=163712 [message] => This extension requires the SQL Server 2008 Native Client ODBC Driver (SP1 or later) to communicate with SQL Server. That ODBC Driver is not currently installed. Access the following URL to download the SQL Server 2008 Native Client ODBC driver for x86: http://go.microsoft.com/fwlink/?LinkId=163712 ) [1] => Array ( [0] => IM002 [SQLSTATE] => IM002 [1] => 0 [code] => 0 [2] => [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified [message] => [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified ) )
Merci pour votre aide.