Historically, PHP on IBM i implementations demanded loyalty to a single database connection style. You had to choose either the classic extensions (ibm_db2 / PDO_IBM) or the ODBC extensions (odbc / PDO_ODBC.) Operating system limitations prevented both types from being loaded at the same time.
In July 2021, we overcame those limitations to enable coexisting database extensions in Seiden CommunityPlus+ PHP. Yes, now the classic PHP database extensions can run side-by-side with ODBC! We will explain how this was done in a future blog post.
As of this writing, you’ll find this feature exclusively in CP+ PHP. When you install Seiden CP+, all db2 extensions (ibm_db2, PDO_IBM, odbc, and PDO_ODBC) are enabled by default.