Skip to content

Commit 38a39e0

Browse files
committed
Update prose like PDO_IBM for Windows builds
1 parent 140aefd commit 38a39e0

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

README.md

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -60,22 +60,20 @@ In case of Docker(Example Amazon Linux2):
6060
the HTTP server environment, add the LD_LIBRARY_PATH variable in the httpd.conf file.
6161
6262
```
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+
````
7977
8078
## How to run sample program
8179

0 commit comments

Comments
 (0)