Quantcast
Channel: Microsoft Drivers for PHP for SQL Server forum
Viewing all articles
Browse latest Browse all 391

Any news about SQLSRV Driver for PHP x64?

$
0
0

I have tried several times to compile this for x64 with no luck, all I keep getting are errors like these:

ext\sqlsrv\core_stmt.cpp(1994) : error C2664: 'convert_string_from_utf16' : cannot convert parameter 3 from 'SQLLEN' to 'SQLINTEGER &'
ext\sqlsrv\core_stmt.cpp(2006) : warning C4244: 'initializing' : conversion from 'SQLLEN' to 'int', possible loss of data
ext\sqlsrv\core_stmt.cpp(2119) : warning C4244: 'initializing' : conversion from 'SQLLEN' to 'SQLINTEGER', possible loss of data
ext\sqlsrv\core_stmt.cpp(2130) : error C2664: 'sqlsrv_result_set::get_data' : cannot convert parameter 5 from 'SQLINTEGER *' to 'SQLLEN *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
ext\sqlsrv\core_stmt.cpp(2157) : error C2664: 'sqlsrv_result_set::get_data' : cannot convert parameter 5 from 'SQLINTEGER *' to 'SQLLEN *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
ext\sqlsrv\core_stmt.cpp(2183) : error C2664: 'convert_string_from_utf16' : cannot convert parameter 3 from 'SQLLEN' to 'SQLINTEGER &'
ext\sqlsrv\core_stmt.cpp(2227) : error C2664: 'convert_string_from_utf16' : cannot convert parameter 3 from 'SQLLEN' to 'SQLINTEGER &'
ext\sqlsrv\core_stmt.cpp(2380) : warning C4244: 'initializing' : conversion from 'SQLLEN' to 'int', possible loss of data
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\amd64\cl.exe"' : return code '0x2'

Everybody says it's because x64 is experimental in PHP 5.5, but I have successfully compiled another well known DB Server (IBM DB2) for x64 without any problems or errors, Oracle also comes with PHP 5.5 x64, so if DB2 and Oracle can be compiled for x64 why not SQLSRV?

Thanks,


Viewing all articles
Browse latest Browse all 391

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>