Support for database application development in PHP
Application development for Db2® databases is supported for a range of PHP language versions.
The following table lists versions of the PHP scripting language that are supported for Db2 database application development.
Though the base support is listed in the following table, using the latest version of PHP 5 is recommended.
Unless otherwise noted, the version listed in the following table support both 32-bit and 64-bit application development.
| Operating System | Supported Version(s) |
|---|---|
| AIX® | PHP 7.3 or later for both IBM_DB2 and PDO_IBM driver |
| Linux® on x86 (32-bit Db2 instances and language only) | PHP 7.3 or later for both IBM_DB2 and PDO_IBM driver |
| Linux on AMD64/EM64T | PHP 7.3 or later for both IBM_DB2 and PDO_IBM driver |
| Linux on POWER® (PowerPC®, System i, IBM® Power Systems) | PHP 7.3 or later for both IBM_DB2 and PDO_IBM driver |
| Linux on zSeries (s/390x) | PHP 7.3 or later for both IBM_DB2 and PDO_IBM driver |
| Windows on x86 (32-bit Db2 instances only) | PHP 7.3 or later for both IBM_DB2 and PDO_IBM driver |
| Windows on x64 (AMD64/EM64T) | PHP 7.3 or later for both IBM_DB2 and PDO_IBM driver |