I'm trying to enable MSSQL in my php.ini and I noticed the line extension=php_mssql.dll has a semi-colon in front of it. I uncomment it and restart Apache to get an error that says something like:

unable to load dynamic library ... php_mssql.dll

I've been all over trying to figure out how to get this .dll file as it's not in my php/ext directory... I downloaded the latest zip file for php and looked in the ext directory and can't find this dll... I've also tried searching it to no avail. Any help or direction is appreciated.

    a month later

    There was a post where someone had mentioned SQLSRV. I've been a googlin and can't figure out how to get this to work.

    I've found my extensions library
    I've downloaded "SQLSRV30.EXE"
    http://www.microsoft.com/en-us/download/details.aspx?id=20098
    I've run the installer
    It added files to my extensions directory
    I added the following lines to my php.ini
    extension=php_sqlsrv_53_ts.dll
    extension=php_pdo_sqlsrv_53_ts.dll
    I restart Apache and it tells me that it can't find the extensions...

    Help?!

      Do you have the proper extension_dir set in your php.ini file?

        Directly out of phpinfo()

        extension_dir C:\xampp\php\ext

        That's where I put the dlls...

          2 months later

          Does anyone know how to do this or should I just consider this a hopless cause...

            Write a Reply...