File tree Expand file tree Collapse file tree 1 file changed +14
-16
lines changed Expand file tree Collapse file tree 1 file changed +14
-16
lines changed Original file line number Diff line number Diff line change @@ -60,22 +60,20 @@ In case of Docker(Example Amazon Linux2):
60
60
the HTTP server environment, add the LD_LIBRARY_PATH variable in the httpd.conf file.
61
61
62
62
```
63
- ## How to install php ibm_db2 extension in Windows
64
- ```
65
- Set CLIDRIVER\bin path to PATH environment variable.
66
-
67
- set PATH=<CLIDRIVER installed path>\bin;%PATH%
68
-
69
- 1. Download the php_ibm_db2 DLLs for PHP 7.x(7.0, 7.1, 7.2 and 7.3) from below link.
70
- https://github.com/ibmdb/php_ibm_db2
71
-
72
- For PHP 5.x, Download the DLL from Pecl. Pasted the link below.
73
- https://pecl.php.net/package/ibm_db2
74
-
75
- 2. Open the php.ini file in an editor of your choice. Edit the extension entry in the
76
- php.ini file in the <local_php_directory>\php\lib directory to reference the PHP driver:
77
- extension=php_ibm_db2
78
- ```
63
+ ## Prebuilt binaries for Windows
64
+
65
+ 1 . Add the ` CLIDRIVER\bin ` path to the ` PATH ` environment variable like so (for a batch file):
66
+ ```
67
+ set PATH=<CLIDRIVER installed path>\bin;%PATH%
68
+ ```
69
+ 2. Download the DLLs for PHP 7.x and 8.x from [the ibmdb repository](https://github.com/ibmdb/php_ibm_db2).
70
+ Select the build for the PHP that matches the version, architecture, and thread model.
71
+
72
+ 3. Open the `php.ini` file in an editor of your choice. Edit the extension entry in the
73
+ `php.ini` file in the `<local_php_directory>\php\lib` directory to reference the driver:
74
+ ````
75
+ extension=php_ibm_db2
76
+ ````
79
77
80
78
## How to run sample program
81
79
You can’t perform that action at this time.
0 commit comments