locked
php_mssql compiled for PHP 5.3 - windows_xp RRS feed

  • Question

  • anybody can provide me the php_mssql.dll for PHP 5.3 for Windows xp ?
    the date of the php_mssql.dll that i have is 22/01/2004 and give this error
    when i try to connect: Unable to load dynamic llibrary c: \PHP\ext\php_mssql.dl,
    ins't a win32 application.

    I don't know C++ to compile from source

    Thanks very much.
    Tuesday, September 22, 2009 7:03 PM

Answers

  • PHP dropped support in 5.3 for the mssql.dll...it sucked anyway.  However, you can use Microsoft's driver 1.1 for the 5.3 php build, but you will have to modify your php files to reference the sqlsrv_ function set instead of mssql_.
    • Proposed as answer by Voidstate Tuesday, October 6, 2009 2:46 PM
    • Marked as answer by David Two Sheds Friday, October 23, 2009 4:09 AM
    Tuesday, September 22, 2009 10:03 PM

All replies

  • PHP dropped support in 5.3 for the mssql.dll...it sucked anyway.  However, you can use Microsoft's driver 1.1 for the 5.3 php build, but you will have to modify your php files to reference the sqlsrv_ function set instead of mssql_.
    • Proposed as answer by Voidstate Tuesday, October 6, 2009 2:46 PM
    • Marked as answer by David Two Sheds Friday, October 23, 2009 4:09 AM
    Tuesday, September 22, 2009 10:03 PM
  • PHP 5.3 can be compiled with FreeTDS 0.82 (latest version) on Windows Platform.     created php_dblib.dll which uses the same source code as php_mssql.dll ,   internal function's names are all exact the same as php_mssql_*
    If anyone needs,  I can provide you - both 32-bit  and 64-bit,   tested,  works on Windows 7 64-bit   
    Tuesday, January 12, 2010 10:44 PM
  • Download the VC6 builds from http://windows.php.net/download/. They still contain the php_mssql.dll extension. The VC6 builds have a limited life left (PHP 6 won't be built using VC6).

    I ran some tests recently to compare the 2 extensions based on speed, not functionality (Microsoft's driver is far superior when it comes to functionality!). You can see the results here: http://www.veadas.net/article/mssql-vs-sqlsrv-speed-comparison
    Thursday, February 25, 2010 10:35 AM
  • The 5.3.1 binaries include the php_mssql and the ntwdblib DLLs that are required inorder to use the mssql_ functions. You can still use them in 5.3.x versions of PHP. I think it might throw a warning now with Strict errors turned on.
    Thursday, February 25, 2010 5:24 PM
  • mssql extension was left out of the final 5.3.0 Windows binary build. php_mssql.dll and ntwdblib.dll were included with 5.3.0 RC3
    http://bugs.php.net/bug.php?id=48743
    Tuesday, May 11, 2010 7:12 PM
  • Use the sqlsrv extension instead.

    SQL Server Driver for PHP

    http://www.microsoft.com/downloads/details.aspx?familyid=CCDF728B-1EA0-48A8-A84A-5052214CAAD9&displaylang=en

     

     

    Tuesday, May 11, 2010 7:19 PM
  • Download the VC6 builds from http://windows.php.net/download/. They still contain the php_mssql.dll extension. The VC6 builds have a limited life left (PHP 6 won't be built using VC6).
    I ran some tests recently to compare the 2 extensions based on speed, not functionality (Microsoft's driver is far superior when it comes to functionality!). You can see the results here: http://www.veadas.net/article/mssql-vs-sqlsrv-speed-comparison

    (I already asked this question on your article, after I realized a hotmail account could post on here.)

    Question:

     I am assuming I will need to install this .dll for  SQLSRV on the web server when I launch the site. How complicated will the process be?

    Tuesday, March 22, 2011 4:27 PM
  • Is it possible you can send me plus instructions.

    I am installing it on Server 2008 64 bit, IIS 7.9 and PHP 5.3.6

    Thank you

     

     

     

    Tuesday, August 9, 2011 1:47 PM
  • Ok you can download the mssql dll from here

    http://windows.php.net/download/

    under

    PHP 5.2 (5.2.17)

    Thanks for the info from above


    Tuesday, July 30, 2013 12:46 PM