internals:windows:libs:ibm_db2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
internals:windows:libs:ibm_db2 [2009/11/20 12:45] – created ambrishinternals:windows:libs:ibm_db2 [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 10: Line 10:
   * IBM DB2 DataServer Driver ([[https://www.ibm.com/services/forms/preLogin.do?source=swg-idsdpds]])   * IBM DB2 DataServer Driver ([[https://www.ibm.com/services/forms/preLogin.do?source=swg-idsdpds]])
      
-==== Compile =====+==== Compile ==== 
 +Download latest IBM_DB2 extension source code from [[http://pecl.php.net/package/ibm_db2|PECL]]. Extract it and put it in standard location (PECL directory). 
 + 
 +Download IBM Data Server Driver Package from the link provided in **Dependencies** section. Install this package on the server (say, the location will be C:\SQLLIB). 
 + 
 +Once the installation is done, next step is to setup the environment. Open VC command prompt and set few environment variables. Following are the command to set these variables: 
 +<code> 
 +> set LIB="C:\SQLLIB\lib";%LIB% 
 +> set INCLUDE="C:\SQLLIB\include";%INCLUDE% 
 +> set PATH="C:\SQLLIB\bin";%PATH% 
 +</code> 
 + 
 + 
 +After this step, run standard steps to build PHP. The flag to include IBM_DB2 extension is **--with-ibm_db2**, and it should point to SQLLIB directory. So, in current case, the flag will be like: 
 +<code> 
 +> configure --with-ibm_db2="C:\SQLLIB",shared 
 +</code>
internals/windows/libs/ibm_db2.1258721158.txt.gz · Last modified: 2017/09/22 13:28 (external edit)