Haven't tried from zLinux yet, but I've done a lot with PHP and DB2 on z/OS. 
Good Redbook that might give some additional pointers if you haven't seen it:

http://www.redbooks.ibm.com/abstracts/sg247218.html?Open

There are also several flavors of drivers like ibm_db2, PDO_IBM/PDO_ODBC, and 
Unified ODBC. Not sure which are available for zLinux but I suspect each might 
have different variations of how hard they are to install and pros/cons. 

__________________________________
Tom Stewart
Infrastructure Analyst
John Deere - z/OS Support Services
em: stewartthom...@johndeere.com
__________________________________


 

-----Original Message-----
From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Jones, 
Russell
Sent: Wednesday, August 26, 2009 4:00 PM
To: LINUX-390@VM.MARIST.EDU
Subject: PHP to DB2 connection

Has anyone been successful at connecting to DB2 from PHP? The research I have 
done indicates that I will need to compile php from source with DB2 support. I 
have found instructions on how to download the source, run the configure, and 
makefile, but I am running SUSE 10 which uses rpms. I am thinking that I need 
to create a new php rpm, and install it that way. I am not sure where to start 
creating my own rpm. Is there somewhere I could download a prepackaged php rmp 
with DB2 support for ZLinux?

Am I even on the right track?

Thanks for your help, 

Russell Jones
ANPAC
System Programmer Trainee
rjo...@anpac.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 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

Reply via email to