Ver Mensaje Individual
  #1 (permalink)  
Antiguo 16/03/2013, 11:06
lac
 
Fecha de Ingreso: octubre-2012
Ubicación: El Salvador
Mensajes: 27
Antigüedad: 11 años, 6 meses
Puntos: 0
Pregunta Concetar BD sql server 2012 con php

Denuevo pidiendo su colaboracion, Estoy intentando conectarme a una base de datos sqlserver que esta en localhost desde una aplicacion php, e intentado de muchas formas pero no encuentro solucion.

Intente descargando la api sqlsrv e instalarla como dice aqui:
http://msdn.microsoft.com/en-US/library/cc793139(v=SQL.90).aspx

pero en el phpinfo no aparece como instalado.

Muchas gracias por su ayuda.

PD: les coloco una imagenes de mi phpinfo


y parte de mi php.ini
Código:
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;

; If you wish to have an extension loaded automatically, use the following
; syntax:
;
;   extension=modulename.extension
;
; For example, on Windows:
;
;   extension=msql.dll
;
; ... or under UNIX:
;
;   extension=msql.so
extension=php_sqlsrv_ts.dll
[sqlsrv]
sqlsrv.LogSubsystems=-1
sqlsrv.LogSeverity=-1
sqlsrv.WarningReturnAsErrors=0

; ... or with a path:
;
;   extension=/path/to/extension/msql.so
;
; If you only provide the name of the extension, PHP will look for it in its
; default extension directory.
;
; Windows Extensions
; Note that ODBC support is built in, so no dll is needed for it.
; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
; extension folders as well as the separate PECL DLL download (PHP 5).
; Be sure to appropriately set the extension_dir directive.
;

; The MIBS data available in the PHP distribution must be installed. 
; See http://www.php.net/manual/en/snmp.installation.php
Código:
[PHP_TIDY]
extension=php_tidy.dll
[PHP_XMLRPC]
extension=php_xmlrpc.dll
[PHP_EXIF]
extension=php_exif.dll
[PHP_sqlsrv]
extension=php_sqlsrv_53_ts.dll
extension=php_pdo_sqlsrv_53_ts.dll