[nycphp-talk] Universe/DB2 and PHP
Daniel Krook
krook at us.ibm.com
Thu Mar 3 10:50:55 EST 2005
> Is there anyone here who's ever built a site using PHP with Universe/DB2
on
> the backend instead of, say, MySQL?
Nothing large, but it's a direction we're going in for a few internal web
applications.
>From an administration point of view, it's fairly simple to add DB2
support to PHP. Just add the following flag to your PHP configure after
you've installed DB2 on the server:
--with-ibm-db2 [assuming the default location, /home/db2inst1/sqllib]
Then add this to apachectl or the profile of the user who starts Apache or
which ever web server you're planning to use:
. /home/db2inst1/sqllib/db2profile
>From an application standpoint, use PEAR DB and look out for the issues
that Dan Convissor points out.
Daniel Krook, Advisory IT Specialist - Application Development
WW Web Production Services North 2, ibm.com
1133 Westchester Avenue, White Plains, NY 10604
Personal: http://info.krook.org/
Persona: http://w3.ibm.com/eworkplace/persona_bp_finder.jsp?CNUM=9A9796897
More information about the talk
mailing list