Esto esta curioso. Esto es generando PHP con soporte para unixODBC. Trabaja muy bien con otros drivers, pero ojo a lo que hay que hacer si uno va a usar una base de datos DB2.....Curioso.... Mario Guerra ---------- Forwarded message ---------- Date: Tue, 05 Dec 2000 16:09:08 +0000 From: Nick Gorham <[EMAIL PROTECTED]> To: Mario Guerra <[EMAIL PROTECTED]> Subject: Re: Thanks for the DB2 instructions Mario Guerra wrote: > They workeed as stated (I used DB2 7.1 for Linux). > > Now, how would you start a PHP unixODBC connection to DB2 (following the > same example). I do this: > > I'm sure I'm overlooking something, but what?.... > > Mario Guerra - sysadmin and integrator > [EMAIL PROTECTED] The only way I can get it to work is to have DB2INSTANCE defined in the environment that the server is started in, not setting it from within the script, i.e. export DB2INSTANCE=db2inst1 export LD_LIBRARY_PATH="/home/db2inst1/sqllib/lib ./apachectl start -- Nick Gorham Easysoft Ltd -- �Desea desuscribirse? Escriba a [EMAIL PROTECTED] con el tema "unsubscribe".
