This project is read-only.

x64 support


Hey guy,

Last time I asked for this I was told it doesn't compile because PHP x64 for windows was still experimental, well I am testing a fully x64 version of PHP (php-master) and sqlsrv won't even show when configure --help is called, so I don't think sqlsrv can hadle x64, any idea when this is going to be possible?



luisdev wrote Sep 22, 2014 at 7:54 AM

Don't hold your breath for any official X64 support anytime soon. PHP version 5.6 is already out and yet no official 'Microsoft Drivers for PHP for SQL Server' for version 5.5 of PHP has been released yet.

jfha73 wrote Sep 22, 2014 at 4:36 PM

I know, I even tried to compile it myself for 5.6 x86 and I get this:
ext\sqlsrv\core_stream.cpp(241) : error C2440: 'initializing' : cannot convert from 'php_stream *(__cdecl *)(php_stream_wrapper *,char *,char *,int,char **,php_stream_context *,void ***)' to 'php_stream *(__cdecl *)(php_stream_wrapper *,const char *,const char *,int,char **,php_stream_context *,void ***)' None of the functions with this name in scope match the target type NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\cl.exe"' : return code '0x2' Stop.
I don't think anybody is working on this anymore.

umeshv12 wrote Sep 24, 2014 at 2:29 PM

PHP Warning: PHP Startup: Unable to load dynamic library 'wamp/bin/php/php5.4.12/ext/php_sqlsrv_54_ts.dll' - %1 is not a valid Win32 application.\r\n in Unknown on line 0

for x64 bit OS

robertjohnson wrote Sep 25, 2014 at 10:25 AM

@umeshv12: it's not the 64 bit OS which is the problem, you would have success if you installed WAMP 32-bit version on a 64-bit OS.

If you want to install 64-bit WAMP, you will need PHP 5.5 or better and an unofficial driver from here: