none
Compile 64-bit SQL Server Driver for PHP - php_sqlsrv.dll

    问题

  • Follow the instructions from  README.TXT of the source code, (http://sqlsrvphp.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=31762)
    I can compile 32-bit php_sqlsrv.dll in Visual Studio 2008 easily. But got some errors when I try to create x64 php_sqlsrv.dll.
    I can compile x64 PHP 5.3.1 from source code with php_curl, php_zip etc .  without any problem.
    when compiling 32-bit php_sqlsrv.dll, in config.w32 ,  need to  remove this line
    ADD_FLAG( 'CFLAGS_SQLSRV', '/WX' );  
    /WX  flag is not necessary,  makes some trouble.
    My machine configuration:
    MS Windows 7 64-bit
    MS Visual Studio 2008 Professional

    If someone has a successful story in x64, Please give me a post.
    thanks a lot.
     

    2010年1月12日 21:37

答案

  • The current version of the driver does not support x64. We intend to focus on preparing a 64-bit version of the driver as soon as a compatible (x64) PHP distribution becomes available (as binary or msi). At this time, we have no timeline or schedule for releasing a 64-bit driver.

     

    Thank you,

    Serban


    Serban Iliescu - MSFT
    2010年1月15日 1:27

全部回复

  • The current version of the driver does not support x64. We intend to focus on preparing a 64-bit version of the driver as soon as a compatible (x64) PHP distribution becomes available (as binary or msi). At this time, we have no timeline or schedule for releasing a 64-bit driver.

     

    Thank you,

    Serban


    Serban Iliescu - MSFT
    2010年1月15日 1:27
  • I still hope someone can help me on x64-bit  php_sqlsrv source code.
     
    I got some casting errors. (some implicit casting is just fine under 32bit compiling process ,  but raised errors for 64bit programming.)
     
    If someone are familiar with the source code,  it will not be a big issue for him to change these implicit casting into explicit casting in stmt.cpp )
     
    I will be glad to become the first tester of 64-bit php_sqlsrv.dll,   (I already compiled PHP 5.3.1 x64 bit with a lot common modules on my laptop)
     
    thanks a lot again, 
     
    -Jack
    2010年1月15日 19:49
  • 1 Year Later....

     

    Youhou ???!!! Anybody there ????

    Where is the x64 driver ? no ? Not yet ?

     

     

    2011年4月18日 14:27
  • Wanou,

     

    Unfortunately, PHP still does not officially support 64-bit distributions. We will re-evaluate the support for a 64-bit PHP Driver for SQL Server if this changes.

     

    Thank you,

     

    Jonathan Guerin


    This posting is provided "AS IS" with no warranties, and confers no rights.
    2011年4月18日 22:18
  • Hi,

    2 years after it's maybe time to launch your sqlsrv Driver.

    You can release a beta version without support....

    2012年3月15日 12:09
  • Hi,

    2 years after it's maybe time to launch your sqlsrv Driver.

    You can release a beta version without support....

    I would be nice to see it coming or at least the source to compile it on 64 bit platform. It is preventing some people from adopting it in 64 bit platforms. I don't mind if does not include any optimizations on running over 64 bit!

    2012年9月17日 17:17