All you need to get MsSQL for PHP going!

Results 1 to 4 of 4
  1. #1
    0xC0FFEE spikensbror is offline
    MemberRank
    Dec 2006 Join Date
    SwedenLocation
    1,855Posts

    All you need to get MsSQL for PHP going!

    So I saw someone saying they where having trouble getting the mssql_* functions working on PHP 5.3 running on Windows.
    There's a simple solution to this... FreeTDS compiled for Windows.
    Here's a link to a very comprehensive guide, detailing how to install and also containing pre-compiled libraries for you to use:
    Installing MSSQL for PHP - MoodleDocs

    Just a reminder though, I highly recommend switching to the Microsoft SQL driver though if you are using Windows as it's got better features and has built in filtering functions.

    Here's where you can download the driver:
    Download details: SQL Server Driver for PHP 1.1 - October 2009

    The requirements for the driver(you will need the Microsoft SQL 2008 R2 Native Client for the SQL driver to work):
    System Requirements (Microsoft Drivers for PHP for SQL Server)

    Driver API reference:
    SQLSRV Driver API Reference (Microsoft Drivers for PHP for SQL Server)


  2. #2
    !@#$%^&*() Langstra is offline
    MemberRank
    Feb 2011 Join Date
    Among heroesLocation
    479Posts

    Re: All you need to get MsSQL for PHP going!

    Good guide.

  3. #3
    Odd future cKenzy is offline
    MemberRank
    Aug 2010 Join Date
    SwitzerlandLocation
    361Posts

    Re: All you need to get MsSQL for PHP going!

    it s for IIS?

  4. #4
    0xC0FFEE spikensbror is offline
    MemberRank
    Dec 2006 Join Date
    SwedenLocation
    1,855Posts

    Re: All you need to get MsSQL for PHP going!

    For any PHP install.



Advertisement