Free DB2 Instance
IBM offers a free DB2 instance which can be used for development purposes. Create an account at [IBM Cloud] to create an instance.
DB2 access is accomplished using the PDO_IBM driver. Recently DreamFactory patched this driver to ensure PHP 7 compatibility. Please install using this GitHub readme as a guide PDO_IBM Patched
For concrete example see the Ubuntu 16.04 instructions.