2008-07-28 23:49:47 +02:00
|
|
|
|
2009-04-28 23:49:01 +02:00
|
|
|
* Notes about changes to the SQL Server Driver for PHP April 2009 Cumulative Update (CU) *
|
2008-07-28 23:49:47 +02:00
|
|
|
|
2008-10-16 23:59:02 +02:00
|
|
|
For details about the changes included in this CU, please see our blog at
|
|
|
|
http://blogs.msdn.com/sqlphp or see the SQLServerDriverForPHP_Readme.htm
|
|
|
|
file that is part of the download package.
|
2008-07-28 23:49:47 +02:00
|
|
|
|
2009-04-28 23:49:01 +02:00
|
|
|
* Notes about compiling the SQL Server Driver for PHP April 2009 CU *
|
2008-10-16 23:59:02 +02:00
|
|
|
|
|
|
|
Prerequisites: You must first be able to build PHP without including
|
2009-04-28 23:49:01 +02:00
|
|
|
the SQL Server Driver for PHP extension. For help with doing this, see
|
2008-10-16 23:59:02 +02:00
|
|
|
the official PHP website, http://php.net.
|
|
|
|
|
2009-04-28 23:49:01 +02:00
|
|
|
To compile the SQL Server Driver for PHP:
|
2008-07-28 23:49:47 +02:00
|
|
|
|
|
|
|
1) Copy the source code into the ext\sqlsrv directory.
|
|
|
|
|
|
|
|
2) run buildconf.bat
|
|
|
|
|
|
|
|
3) run "cscript configure.js --enable-sqlsrv=shared <other options>" to
|
2008-10-16 23:59:02 +02:00
|
|
|
generate the makefile. Run "cscript configure.js --help" to see what other
|
2008-07-28 23:49:47 +02:00
|
|
|
options are available. It is possible (and even probable) that other
|
|
|
|
extensions will have to be disabled or enabled for the compile to succeed.
|
|
|
|
Search live.com for configurations that have worked for other people.
|
|
|
|
|
|
|
|
3a) It might be possible to compile with just --enable-sqlsrv rather
|
|
|
|
than --enable-sqlsrv=shared, but that configuration has not been tested.
|
|
|
|
|
|
|
|
4) run "nmake". It is suggested that you run the entire build. If you
|
|
|
|
wish to do so, run "nmake clean" first.
|
|
|
|
|
|
|
|
5) To install the resulting build, run "nmake install" or just copy
|
|
|
|
php_sqlsrv.dll to your PHP extension directory.
|
|
|
|
|
|
|
|
This software has been compiled and tested under PHP 5.2.6 and PHP 5.2.4
|
|
|
|
using the Visual C++ 2005 Express and Visual C++ 2008 Standard compilers.
|
|
|
|
|
|
|
|
This software is released under the Microsoft Public License. A copy of
|
|
|
|
the license agreement may be found online at
|
|
|
|
http://www.codeplex.com/SQL2K5PHP/license.
|
2008-10-16 23:59:02 +02:00
|
|
|
|
|
|
|
* Note about version.h *
|
|
|
|
|
|
|
|
The version numbers in version.h in the source do not match the version numbers
|
|
|
|
in the supported PHP extension and have not been updated for this CU in the
|
|
|
|
published source code.
|