<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ca">
	<id>https://docs.moodle.org/2x/ca/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vostok4</id>
	<title>MoodleDocs - Contribucions de l&amp;#039;usuari [ca]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/2x/ca/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vostok4"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/Especial:Contribucions/Vostok4"/>
	<updated>2026-04-14T14:53:18Z</updated>
	<subtitle>Contribucions de l&amp;#039;usuari</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Compiling_FreeTDS_under_Windows&amp;diff=81551</id>
		<title>Compiling FreeTDS under Windows</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Compiling_FreeTDS_under_Windows&amp;diff=81551"/>
		<updated>2011-02-23T22:42:20Z</updated>

		<summary type="html">&lt;p&gt;Vostok4: /* Build Steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Requirements==&lt;br /&gt;
&lt;br /&gt;
* MSVC 6.0 (Microsoft Visual C++ 6.0) with Service Packs installed.&lt;br /&gt;
* February 2003 Platform SDK (must be February 2003, last supported platform SDK for VC6) [see [[Development:FebruaryPlatformSDK]]]&lt;br /&gt;
* FreeTDS (tested with [http://ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-patched.tgz version 0.82+official patchset] - updated 2011-02-23).&lt;br /&gt;
* PHP source files (tested with [http://www.php.net/get/php-5.3.5.tar.gz/from/a/mirror version 5.3.5])&lt;br /&gt;
* These packages (non-debug):&lt;br /&gt;
** From http://pecl2.php.net/downloads/php-windows-builds/php-libs/ :&lt;br /&gt;
*** binary-tools.zip&lt;br /&gt;
** From http://pecl2.php.net/downloads/php-windows-builds/php-libs/VC6/x86/ :&lt;br /&gt;
*** bindlib&lt;br /&gt;
*** libiconv&lt;br /&gt;
*** libxml&lt;br /&gt;
*** libxslt&lt;br /&gt;
*** zlib&lt;br /&gt;
&lt;br /&gt;
==Build Steps==&lt;br /&gt;
&lt;br /&gt;
* Create c:\dev&lt;br /&gt;
* Create c:\dev\php-build&lt;br /&gt;
* Uncompress all the packages listed in requirements and PHP into c:\dev\php-build (replacing all when uncompressing). Make sure to extract the bin, lib, include folders without any top level directory contained within the archive.&lt;br /&gt;
* Copy uncompressed [http://ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-patched.tgz freetds] folder to C:\dev\php-build (rename it to, simply, &amp;quot;freetds&amp;quot;).&lt;br /&gt;
* Open the C:\dev\php-build\freetds\win32\msvc6\FreeTDS.dsw Project Workspace (it&#039;s really important to get this Workspace and not any of the individual projects!).&lt;br /&gt;
* In the &amp;quot;Build&amp;quot; menu, set the &amp;quot;Active Configuration&amp;quot; to  &amp;quot;dblib - Win32 Release&amp;quot; and then, in the same menu, &amp;quot;Rebuild All&amp;quot;. This should end with one dblib.lib library into C:\dev\php-build\freetd\win32\msvc6\db_Release&lt;br /&gt;
* Copy dblib.lib to C:\dev\php-build\lib&lt;br /&gt;
* Start CMD&lt;br /&gt;
* Create one C:\dev\prepare4php.bat file with contents below and execute it:&lt;br /&gt;
::@set PATH=C:\dev\php-build\bin;%PATH%&lt;br /&gt;
::@set INCLUDE=C:\dev\php-build\include;%INCLUDE%&lt;br /&gt;
::@set LIB=C:\dev\php-build\lib;%LIB%&lt;br /&gt;
::@set BISON_SIMPLE=C:\dev\php-build\bin\bison.simple&lt;br /&gt;
* Continue in CMD and change dir to C:\dev\php-build\php-x-x-x&lt;br /&gt;
* Execute this:&lt;br /&gt;
** buildconf&lt;br /&gt;
** cscript /nologo configure.js --disable-all --disable-ipv6 --enable-cli --enable-zts (--disable-zts)  --with-dblib=shared --enable-object-out-dir=c:\dev --with-extra-includes=c:\dev\php-build\freetds\include;c:\dev\php-build\freetds\win32&lt;br /&gt;
** nmake&lt;br /&gt;
* You should end with one C:\dev\Release_TS for the --enable-zts (or C:\dev\Release for the --disable-zts alternative)  dir, with your compiled FreeTDS PHP module ready at the root level of that dir. CLI was passed as a build option above because as of PHP v5.3.x you must specify one SAPI modile to get a build.&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
* By using --enable-zts or --disable-zts you&#039;ll end with different thread safe/no safe versions of the extension. Use them depending of your environment thread safety.&lt;br /&gt;
* If you one use PHP 5.2 version to build the lib, the extensions generated are expected to work against any PHP 5.2.x version (but not against other releases of PHP, like 5.1 or 5.3).&lt;br /&gt;
* MSVC 6.0 is required because it&#039;s the official tool used to build PHP binary distributions. It seems that, with PHP 5.3 they will start using MSVC 9 or so... corresponding extensions should use the same.&lt;br /&gt;
* Feel free to fix and improve this document. TIA! &lt;br /&gt;
* For any comment related to this, please use MDL-14725 in the Moodle Tracker.&lt;br /&gt;
* And MDL-11810 has a related discussion.&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
[[Category:Developer]]&lt;br /&gt;
[[Category:XMLDB]]&lt;br /&gt;
[[Category:DB]]&lt;/div&gt;</summary>
		<author><name>Vostok4</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Compiling_FreeTDS_under_Windows&amp;diff=81550</id>
		<title>Compiling FreeTDS under Windows</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Compiling_FreeTDS_under_Windows&amp;diff=81550"/>
		<updated>2011-02-23T22:41:09Z</updated>

		<summary type="html">&lt;p&gt;Vostok4: /* Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Requirements==&lt;br /&gt;
&lt;br /&gt;
* MSVC 6.0 (Microsoft Visual C++ 6.0) with Service Packs installed.&lt;br /&gt;
* February 2003 Platform SDK (must be February 2003, last supported platform SDK for VC6) [see [[Development:FebruaryPlatformSDK]]]&lt;br /&gt;
* FreeTDS (tested with [http://ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-patched.tgz version 0.82+official patchset] - updated 2011-02-23).&lt;br /&gt;
* PHP source files (tested with [http://www.php.net/get/php-5.3.5.tar.gz/from/a/mirror version 5.3.5])&lt;br /&gt;
* These packages (non-debug):&lt;br /&gt;
** From http://pecl2.php.net/downloads/php-windows-builds/php-libs/ :&lt;br /&gt;
*** binary-tools.zip&lt;br /&gt;
** From http://pecl2.php.net/downloads/php-windows-builds/php-libs/VC6/x86/ :&lt;br /&gt;
*** bindlib&lt;br /&gt;
*** libiconv&lt;br /&gt;
*** libxml&lt;br /&gt;
*** libxslt&lt;br /&gt;
*** zlib&lt;br /&gt;
&lt;br /&gt;
==Build Steps==&lt;br /&gt;
&lt;br /&gt;
* Create c:\dev&lt;br /&gt;
* Create c:\dev\php-build&lt;br /&gt;
* Uncompress all the packages listed in requirements and PHP into c:\dev\php-build (replacing all when uncompressing). Make sure to extract the bin, lib, include folders without any top level directory contained within the archive.&lt;br /&gt;
* Copy uncompressed [http://www.ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-0.82.tar.gz freetds] folder to C:\dev\php-build (rename it to, simply, &amp;quot;freetds&amp;quot;).&lt;br /&gt;
* Apply [http://freetds.sourceforge.net/post82.diff.gz post 0.82 patches] in the &amp;quot;freetds&amp;quot; dir.&lt;br /&gt;
* Open the C:\dev\php-build\freetds\win32\msvc6\FreeTDS.dsw Project Workspace (it&#039;s really important to get this Workspace and not any of the individual projects!).&lt;br /&gt;
* In the &amp;quot;Build&amp;quot; menu, set the &amp;quot;Active Configuration&amp;quot; to  &amp;quot;dblib - Win32 Release&amp;quot; and then, in the same menu, &amp;quot;Rebuild All&amp;quot;. This should end with one dblib.lib library into C:\dev\php-build\freetd\win32\msvc6\db_Release&lt;br /&gt;
* Copy dblib.lib to C:\dev\php-build\lib&lt;br /&gt;
* Start CMD&lt;br /&gt;
* Create one C:\dev\prepare4php.bat file with contents below and execute it:&lt;br /&gt;
::@set PATH=C:\dev\php-build\bin;%PATH%&lt;br /&gt;
::@set INCLUDE=C:\dev\php-build\include;%INCLUDE%&lt;br /&gt;
::@set LIB=C:\dev\php-build\lib;%LIB%&lt;br /&gt;
::@set BISON_SIMPLE=C:\dev\php-build\bin\bison.simple&lt;br /&gt;
* Continue in CMD and change dir to C:\dev\php-build\php-x-x-x&lt;br /&gt;
* Execute this:&lt;br /&gt;
** buildconf&lt;br /&gt;
** cscript /nologo configure.js --disable-all --disable-ipv6  --enable-zts (--disable-zts)  --with-dblib=shared --enable-object-out-dir=c:\dev --with-extra-includes=c:\dev\php-build\freetds\include;c:\dev\php-build\freetds\win32&lt;br /&gt;
** nmake&lt;br /&gt;
* You should end with one C:\dev\Release_TS for the --enable-zts (or C:\dev\Release for the --disable-zts alternative)  dir, with your compiled FreeTDS PHP module ready at the root level of that dir.&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
* By using --enable-zts or --disable-zts you&#039;ll end with different thread safe/no safe versions of the extension. Use them depending of your environment thread safety.&lt;br /&gt;
* If you one use PHP 5.2 version to build the lib, the extensions generated are expected to work against any PHP 5.2.x version (but not against other releases of PHP, like 5.1 or 5.3).&lt;br /&gt;
* MSVC 6.0 is required because it&#039;s the official tool used to build PHP binary distributions. It seems that, with PHP 5.3 they will start using MSVC 9 or so... corresponding extensions should use the same.&lt;br /&gt;
* Feel free to fix and improve this document. TIA! &lt;br /&gt;
* For any comment related to this, please use MDL-14725 in the Moodle Tracker.&lt;br /&gt;
* And MDL-11810 has a related discussion.&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
[[Category:Developer]]&lt;br /&gt;
[[Category:XMLDB]]&lt;br /&gt;
[[Category:DB]]&lt;/div&gt;</summary>
		<author><name>Vostok4</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Compiling_FreeTDS_under_Windows&amp;diff=81549</id>
		<title>Compiling FreeTDS under Windows</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Compiling_FreeTDS_under_Windows&amp;diff=81549"/>
		<updated>2011-02-23T22:38:34Z</updated>

		<summary type="html">&lt;p&gt;Vostok4: /* Build Steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Requirements==&lt;br /&gt;
&lt;br /&gt;
* MSVC 6.0 (Microsoft Visual C++ 6.0) with Service Packs installed.&lt;br /&gt;
* February 2003 Platform SDK (must be February 2003, last supported platform SDK for VC6) [see [[Development:FebruaryPlatformSDK]]]&lt;br /&gt;
* FreeTDS (tested with [http://www.ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-0.82.tar.gz version 0.82] + [http://freetds.sourceforge.net/post82.diff.gz post 0.82 patches] - updated 2009-03-02).&lt;br /&gt;
* PHP source files (tested with [http://www.php.net/get/php-5.2.6.tar.gz/from/a/mirror version 5.2.6])&lt;br /&gt;
* These packages (non-debug):&lt;br /&gt;
** From http://pecl2.php.net/downloads/php-windows-builds/php-libs/ :&lt;br /&gt;
*** binary-tools.zip&lt;br /&gt;
** From http://pecl2.php.net/downloads/php-windows-builds/php-libs/VC6/x86/ :&lt;br /&gt;
*** bindlib&lt;br /&gt;
*** libiconv&lt;br /&gt;
*** libxml&lt;br /&gt;
*** libxslt&lt;br /&gt;
*** zlib&lt;br /&gt;
&lt;br /&gt;
==Build Steps==&lt;br /&gt;
&lt;br /&gt;
* Create c:\dev&lt;br /&gt;
* Create c:\dev\php-build&lt;br /&gt;
* Uncompress all the packages listed in requirements and PHP into c:\dev\php-build (replacing all when uncompressing). Make sure to extract the bin, lib, include folders without any top level directory contained within the archive.&lt;br /&gt;
* Copy uncompressed [http://www.ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-0.82.tar.gz freetds] folder to C:\dev\php-build (rename it to, simply, &amp;quot;freetds&amp;quot;).&lt;br /&gt;
* Apply [http://freetds.sourceforge.net/post82.diff.gz post 0.82 patches] in the &amp;quot;freetds&amp;quot; dir.&lt;br /&gt;
* Open the C:\dev\php-build\freetds\win32\msvc6\FreeTDS.dsw Project Workspace (it&#039;s really important to get this Workspace and not any of the individual projects!).&lt;br /&gt;
* In the &amp;quot;Build&amp;quot; menu, set the &amp;quot;Active Configuration&amp;quot; to  &amp;quot;dblib - Win32 Release&amp;quot; and then, in the same menu, &amp;quot;Rebuild All&amp;quot;. This should end with one dblib.lib library into C:\dev\php-build\freetd\win32\msvc6\db_Release&lt;br /&gt;
* Copy dblib.lib to C:\dev\php-build\lib&lt;br /&gt;
* Start CMD&lt;br /&gt;
* Create one C:\dev\prepare4php.bat file with contents below and execute it:&lt;br /&gt;
::@set PATH=C:\dev\php-build\bin;%PATH%&lt;br /&gt;
::@set INCLUDE=C:\dev\php-build\include;%INCLUDE%&lt;br /&gt;
::@set LIB=C:\dev\php-build\lib;%LIB%&lt;br /&gt;
::@set BISON_SIMPLE=C:\dev\php-build\bin\bison.simple&lt;br /&gt;
* Continue in CMD and change dir to C:\dev\php-build\php-x-x-x&lt;br /&gt;
* Execute this:&lt;br /&gt;
** buildconf&lt;br /&gt;
** cscript /nologo configure.js --disable-all --disable-ipv6  --enable-zts (--disable-zts)  --with-dblib=shared --enable-object-out-dir=c:\dev --with-extra-includes=c:\dev\php-build\freetds\include;c:\dev\php-build\freetds\win32&lt;br /&gt;
** nmake&lt;br /&gt;
* You should end with one C:\dev\Release_TS for the --enable-zts (or C:\dev\Release for the --disable-zts alternative)  dir, with your compiled FreeTDS PHP module ready at the root level of that dir.&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
* By using --enable-zts or --disable-zts you&#039;ll end with different thread safe/no safe versions of the extension. Use them depending of your environment thread safety.&lt;br /&gt;
* If you one use PHP 5.2 version to build the lib, the extensions generated are expected to work against any PHP 5.2.x version (but not against other releases of PHP, like 5.1 or 5.3).&lt;br /&gt;
* MSVC 6.0 is required because it&#039;s the official tool used to build PHP binary distributions. It seems that, with PHP 5.3 they will start using MSVC 9 or so... corresponding extensions should use the same.&lt;br /&gt;
* Feel free to fix and improve this document. TIA! &lt;br /&gt;
* For any comment related to this, please use MDL-14725 in the Moodle Tracker.&lt;br /&gt;
* And MDL-11810 has a related discussion.&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
[[Category:Developer]]&lt;br /&gt;
[[Category:XMLDB]]&lt;br /&gt;
[[Category:DB]]&lt;/div&gt;</summary>
		<author><name>Vostok4</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Compiling_FreeTDS_under_Windows&amp;diff=81548</id>
		<title>Compiling FreeTDS under Windows</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Compiling_FreeTDS_under_Windows&amp;diff=81548"/>
		<updated>2011-02-23T22:37:30Z</updated>

		<summary type="html">&lt;p&gt;Vostok4: /* Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Requirements==&lt;br /&gt;
&lt;br /&gt;
* MSVC 6.0 (Microsoft Visual C++ 6.0) with Service Packs installed.&lt;br /&gt;
* February 2003 Platform SDK (must be February 2003, last supported platform SDK for VC6) [see [[Development:FebruaryPlatformSDK]]]&lt;br /&gt;
* FreeTDS (tested with [http://www.ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-0.82.tar.gz version 0.82] + [http://freetds.sourceforge.net/post82.diff.gz post 0.82 patches] - updated 2009-03-02).&lt;br /&gt;
* PHP source files (tested with [http://www.php.net/get/php-5.2.6.tar.gz/from/a/mirror version 5.2.6])&lt;br /&gt;
* These packages (non-debug):&lt;br /&gt;
** From http://pecl2.php.net/downloads/php-windows-builds/php-libs/ :&lt;br /&gt;
*** binary-tools.zip&lt;br /&gt;
** From http://pecl2.php.net/downloads/php-windows-builds/php-libs/VC6/x86/ :&lt;br /&gt;
*** bindlib&lt;br /&gt;
*** libiconv&lt;br /&gt;
*** libxml&lt;br /&gt;
*** libxslt&lt;br /&gt;
*** zlib&lt;br /&gt;
&lt;br /&gt;
==Build Steps==&lt;br /&gt;
&lt;br /&gt;
* Create c:\dev&lt;br /&gt;
* Create c:\dev\php-build&lt;br /&gt;
* Uncompress all the packages listed in requirements and PHP into c:\dev\php-build (replacing all when uncompressing).&lt;br /&gt;
* Copy uncompressed [http://www.ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-0.82.tar.gz freetds] folder to C:\dev\php-build (rename it to, simply, &amp;quot;freetds&amp;quot;).&lt;br /&gt;
* Apply [http://freetds.sourceforge.net/post82.diff.gz post 0.82 patches] in the &amp;quot;freetds&amp;quot; dir.&lt;br /&gt;
* Open the C:\dev\php-build\freetds\win32\msvc6\FreeTDS.dsw Project Workspace (it&#039;s really important to get this Workspace and not any of the individual projects!).&lt;br /&gt;
* In the &amp;quot;Build&amp;quot; menu, set the &amp;quot;Active Configuration&amp;quot; to  &amp;quot;dblib - Win32 Release&amp;quot; and then, in the same menu, &amp;quot;Rebuild All&amp;quot;. This should end with one dblib.lib library into C:\dev\php-build\freetd\win32\msvc6\db_Release&lt;br /&gt;
* Copy dblib.lib to C:\dev\php-build\lib&lt;br /&gt;
* Start CMD&lt;br /&gt;
* Create one C:\dev\prepare4php.bat file with contents below and execute it:&lt;br /&gt;
::@set PATH=C:\dev\php-build\bin;%PATH%&lt;br /&gt;
::@set INCLUDE=C:\dev\php-build\include;%INCLUDE%&lt;br /&gt;
::@set LIB=C:\dev\php-build\lib;%LIB%&lt;br /&gt;
::@set BISON_SIMPLE=C:\dev\php-build\bin\bison.simple&lt;br /&gt;
* Continue in CMD and change dir to C:\dev\php-build\php-x-x-x&lt;br /&gt;
* Execute this:&lt;br /&gt;
** buildconf&lt;br /&gt;
** cscript /nologo configure.js --disable-all --disable-ipv6  --enable-zts (--disable-zts)  --with-dblib=shared --enable-object-out-dir=c:\dev --with-extra-includes=c:\dev\php-build\freetds\include;c:\dev\php-build\freetds\win32&lt;br /&gt;
** nmake&lt;br /&gt;
* You should end with one C:\dev\Release_TS for the --enable-zts (or C:\dev\Release for the --disable-zts alternative)  dir, with your compiled FreeTDS PHP module ready at the root level of that dir.&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
* By using --enable-zts or --disable-zts you&#039;ll end with different thread safe/no safe versions of the extension. Use them depending of your environment thread safety.&lt;br /&gt;
* If you one use PHP 5.2 version to build the lib, the extensions generated are expected to work against any PHP 5.2.x version (but not against other releases of PHP, like 5.1 or 5.3).&lt;br /&gt;
* MSVC 6.0 is required because it&#039;s the official tool used to build PHP binary distributions. It seems that, with PHP 5.3 they will start using MSVC 9 or so... corresponding extensions should use the same.&lt;br /&gt;
* Feel free to fix and improve this document. TIA! &lt;br /&gt;
* For any comment related to this, please use MDL-14725 in the Moodle Tracker.&lt;br /&gt;
* And MDL-11810 has a related discussion.&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
[[Category:Developer]]&lt;br /&gt;
[[Category:XMLDB]]&lt;br /&gt;
[[Category:DB]]&lt;/div&gt;</summary>
		<author><name>Vostok4</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=FebruaryPlatformSDK&amp;diff=81547</id>
		<title>FebruaryPlatformSDK</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=FebruaryPlatformSDK&amp;diff=81547"/>
		<updated>2011-02-23T22:36:50Z</updated>

		<summary type="html">&lt;p&gt;Vostok4: New page: The February 2003 Platform SDK is no longer available as a regular download on Microsoft&amp;#039;s site, however it is still available here:  Feb 2003 Platform SDK full download:  *http://download...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The February 2003 Platform SDK is no longer available as a regular download on Microsoft&#039;s site, however it is still available here:&lt;br /&gt;
&lt;br /&gt;
Feb 2003 Platform SDK full download:&lt;br /&gt;
&lt;br /&gt;
*http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.1.cab&lt;br /&gt;
*http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.2.cab&lt;br /&gt;
*http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.3.cab&lt;br /&gt;
*http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.4.cab&lt;br /&gt;
*http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.5.cab&lt;br /&gt;
*http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.6.cab&lt;br /&gt;
*http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.7.cab&lt;br /&gt;
*http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.8.cab&lt;br /&gt;
*http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.9.cab&lt;br /&gt;
*http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.10.cab&lt;br /&gt;
*http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.11.cab&lt;br /&gt;
*http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.12.cab&lt;br /&gt;
*http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.13.cab&lt;br /&gt;
*http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.bat&lt;br /&gt;
*http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/extract.exe&lt;br /&gt;
&lt;br /&gt;
In order to run the install on x64 machines, use the MSI files directly inside setup\ (you just need to install CoreSDK-x86.msi for FreeTDS building).&lt;/div&gt;</summary>
		<author><name>Vostok4</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Compiling_FreeTDS_under_Windows&amp;diff=81546</id>
		<title>Compiling FreeTDS under Windows</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Compiling_FreeTDS_under_Windows&amp;diff=81546"/>
		<updated>2011-02-23T22:34:34Z</updated>

		<summary type="html">&lt;p&gt;Vostok4: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Requirements==&lt;br /&gt;
&lt;br /&gt;
* MSVC 6.0 (Microsoft Visual C++ 6.0) with Service Packs installed.&lt;br /&gt;
* February 2003 Platform SDK (must be February 2003, last supported platform SDK for VC6)&lt;br /&gt;
* FreeTDS (tested with [http://www.ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-0.82.tar.gz version 0.82] + [http://freetds.sourceforge.net/post82.diff.gz post 0.82 patches] - updated 2009-03-02).&lt;br /&gt;
* PHP source files (tested with [http://www.php.net/get/php-5.2.6.tar.gz/from/a/mirror version 5.2.6])&lt;br /&gt;
* These packages (non-debug):&lt;br /&gt;
** From http://pecl2.php.net/downloads/php-windows-builds/php-libs/ :&lt;br /&gt;
*** binary-tools.zip&lt;br /&gt;
** From http://pecl2.php.net/downloads/php-windows-builds/php-libs/VC6/x86/ :&lt;br /&gt;
*** bindlib&lt;br /&gt;
*** libiconv&lt;br /&gt;
*** libxml&lt;br /&gt;
*** libxslt&lt;br /&gt;
*** zlib&lt;br /&gt;
&lt;br /&gt;
==Build Steps==&lt;br /&gt;
&lt;br /&gt;
* Create c:\dev&lt;br /&gt;
* Create c:\dev\php-build&lt;br /&gt;
* Uncompress all the packages listed in requirements and PHP into c:\dev\php-build (replacing all when uncompressing).&lt;br /&gt;
* Copy uncompressed [http://www.ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-0.82.tar.gz freetds] folder to C:\dev\php-build (rename it to, simply, &amp;quot;freetds&amp;quot;).&lt;br /&gt;
* Apply [http://freetds.sourceforge.net/post82.diff.gz post 0.82 patches] in the &amp;quot;freetds&amp;quot; dir.&lt;br /&gt;
* Open the C:\dev\php-build\freetds\win32\msvc6\FreeTDS.dsw Project Workspace (it&#039;s really important to get this Workspace and not any of the individual projects!).&lt;br /&gt;
* In the &amp;quot;Build&amp;quot; menu, set the &amp;quot;Active Configuration&amp;quot; to  &amp;quot;dblib - Win32 Release&amp;quot; and then, in the same menu, &amp;quot;Rebuild All&amp;quot;. This should end with one dblib.lib library into C:\dev\php-build\freetd\win32\msvc6\db_Release&lt;br /&gt;
* Copy dblib.lib to C:\dev\php-build\lib&lt;br /&gt;
* Start CMD&lt;br /&gt;
* Create one C:\dev\prepare4php.bat file with contents below and execute it:&lt;br /&gt;
::@set PATH=C:\dev\php-build\bin;%PATH%&lt;br /&gt;
::@set INCLUDE=C:\dev\php-build\include;%INCLUDE%&lt;br /&gt;
::@set LIB=C:\dev\php-build\lib;%LIB%&lt;br /&gt;
::@set BISON_SIMPLE=C:\dev\php-build\bin\bison.simple&lt;br /&gt;
* Continue in CMD and change dir to C:\dev\php-build\php-x-x-x&lt;br /&gt;
* Execute this:&lt;br /&gt;
** buildconf&lt;br /&gt;
** cscript /nologo configure.js --disable-all --disable-ipv6  --enable-zts (--disable-zts)  --with-dblib=shared --enable-object-out-dir=c:\dev --with-extra-includes=c:\dev\php-build\freetds\include;c:\dev\php-build\freetds\win32&lt;br /&gt;
** nmake&lt;br /&gt;
* You should end with one C:\dev\Release_TS for the --enable-zts (or C:\dev\Release for the --disable-zts alternative)  dir, with your compiled FreeTDS PHP module ready at the root level of that dir.&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
* By using --enable-zts or --disable-zts you&#039;ll end with different thread safe/no safe versions of the extension. Use them depending of your environment thread safety.&lt;br /&gt;
* If you one use PHP 5.2 version to build the lib, the extensions generated are expected to work against any PHP 5.2.x version (but not against other releases of PHP, like 5.1 or 5.3).&lt;br /&gt;
* MSVC 6.0 is required because it&#039;s the official tool used to build PHP binary distributions. It seems that, with PHP 5.3 they will start using MSVC 9 or so... corresponding extensions should use the same.&lt;br /&gt;
* Feel free to fix and improve this document. TIA! &lt;br /&gt;
* For any comment related to this, please use MDL-14725 in the Moodle Tracker.&lt;br /&gt;
* And MDL-11810 has a related discussion.&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
[[Category:Developer]]&lt;br /&gt;
[[Category:XMLDB]]&lt;br /&gt;
[[Category:DB]]&lt;/div&gt;</summary>
		<author><name>Vostok4</name></author>
	</entry>
</feed>