You also have the option to simplify, to connect directly to Db2 for z/OS if you wish. Connecting via the Db2 Connect gateway/server is quite optional; you don't actually need to get it working. :-) Db2 Connect *licensing* is still required.
If you follow the direct/simpler path, then you'd most likely install the latest IBM Data Server Client or Client Runtime for Linux on Z and LinuxONE, available for download here: https://www.ibm.com/support/docview.wss?uid=swg27016878 Specific PHP setup instructions for the Client are available here: https://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.1.0/com.ibm.swg.im.dbclient.php.doc/doc/t0011926.html You'd also make sure that there's a Db2 Connect license key activated on/for the Db2 for z/OS subsystem, using the db2connectactivate (.sh) command. Details are available here for Db2 Connect Unlimited Edition, for example: https://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.1.0/com.ibm.db2.luw.licensing.doc/doc/r0057377.htm l I've provided the direct documentation links for Version 11.1 of the IBM Data Server Client and Db2 Connect. (Version 11.1 Data Server Client and Db2 Connect are compatible with Db2 for z/OS Version 12, too.) Adjust the release levels if you need to, but the latest releases would be great, to avoid bumping into possible past/known problems that have already been fixed. As yet another option, you should be able to run your PHP programs directly on z/OS. PHP for z/OS is available for download from Rocket Software here: http://www.rocketsoftware.com/zos-open-source Optional support is also available from Rocket Software. The PHP version currently available for download is Version 5.4.4, but I believe you can request a later beta version (PHP 7.something) from Rocket. Version 5.4.4 for z/OS, at least, can connect to Db2 for z/OS. Db2 Connect licensing is not required when your PHP programs run on z/OS. -------------------------------------------------------------------------------------------------------- Timothy Sipples IT Architect Executive, Industry Solutions, IBM Z & LinuxONE, Multi-Geography E-Mail: sipp...@sg.ibm.com ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/