Compile 64-bit SQL Server Driver for PHP - php_sqlsrv.dll
-
12 มกราคม 2553 21:37
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.
ตอบทั้งหมด
-
15 มกราคม 2553 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- ทำเครื่องหมายเป็นคำตอบโดย Serban Iliescu - MSFTEditor 15 มกราคม 2553 1:27
-
15 มกราคม 2553 19:49I 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
-
18 เมษายน 2554 14:27
1 Year Later....
Youhou ???!!! Anybody there ????
Where is the x64 driver ? no ? Not yet ?
-
18 เมษายน 2554 22:18
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. -
15 มีนาคม 2555 12:09
Hi,
2 years after it's maybe time to launch your sqlsrv Driver.
You can release a beta version without support....
-
17 กันยายน 2555 17:17
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!Hi,
2 years after it's maybe time to launch your sqlsrv Driver.
You can release a beta version without support....
- แก้ไขโดย Phpteammate 17 กันยายน 2555 17:17