Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #6406

Re: connecting to MSSQL Server

From "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid>
Newsgroups comp.lang.php
Subject Re: connecting to MSSQL Server
Date 2012-06-22 09:27 +0200
Organization http://alvaro.es/
Message-ID <js16p3$4b4$1@dont-email.me> (permalink)
References <js02ql$lk1$1@dont-email.me> <js03fp$pht$1@dont-email.me> <js06k8$che$1@dont-email.me>

Show all headers | View raw


El 22/06/2012 0:21, Leonardo Azpurua escribió/wrote:
>>> Is there any chance to get somewhere the "old"  Sql Server PHP library?
>>> Is
>>> it compatible with PHP 5.3.10 and newer?
[...]
> Basically, MS SQL support is non-existant for curent PHP versions.
>
> It included the mssql library up to version 4, but it was dropped in V5.
>
> Currently, PHP 5 for Windows rely on the newer PHP SQL Server Driver
> (SQLSRV, provided by MS), that depends on the Net Framework and the Native
> SQL Client. They suck on most old equipment.
>
> Web search results are unclear, but they all seem to imply that the old
> library is officially dead.

The official manual is clear:

     This extension is not available anymore on Windows
     with PHP 5.3 or later.

http://es.php.net/manual/en/intro.mssql.php

In my experience, the SQLSRV extension requires Windows Server 2003 SP2 
or Windows XP SP3. This restriction is imposed by Native Client.

If you need to support an OS that's a decade old, you'll probably need 
to use an outdated PHP version as well.

(Otherwise, the SQLSRV extension is great; its only drawback is being 
Windows-only.)


-- 
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://borrame.com
-- Mi web de humor satinado: http://www.demogracia.com
--

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

connecting to MSSQL Server "Leonardo Azpurua" <leonardo@exmvps.org> - 2012-06-21 16:46 -0430
  Re: connecting to MSSQL Server Jerry Stuckle <jstucklex@attglobal.net> - 2012-06-21 17:25 -0400
    Re: connecting to MSSQL Server "Leonardo Azpurua" <leonardo@exmvps.org> - 2012-06-21 17:51 -0430
      Re: connecting to MSSQL Server Jerry Stuckle <jstucklex@attglobal.net> - 2012-06-21 20:09 -0400
        Re: connecting to MSSQL Server "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2012-06-22 09:34 +0200
      Re: connecting to MSSQL Server "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2012-06-22 09:27 +0200
      Re: connecting to MSSQL Server "Mr. B-o-B" <mr.chew.baka@gmail.com> - 2012-06-22 16:45 -0500
        Re: connecting to MSSQL Server "Leonardo Azpurua" <leonardo@exmvps.org> - 2012-06-22 21:47 -0430
      Re: connecting to MSSQL Server Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-06-30 20:17 +0200
        Re: connecting to MSSQL Server "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-07-01 17:33 +0200
        Re: connecting to MSSQL Server "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2012-07-02 09:38 +0200
  Re: connecting to MSSQL Server Ashish Ranjan <arlogics@gmail.com> - 2012-06-22 22:22 -0700

csiph-web