Re: PHP4 and IBM DB2 on two different computers
| From: | Jeff Warrington | Date: | Wed, 19 Jul 2000 18:46:49 +0000 |
| Subject: | Re: PHP4 and IBM DB2 on two different computers | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-1297@lists.php.net to get a copy of this message | ||
In article <8h167t$il6$1@cvs.php.net>, amir.mistric@usa.net ("Amir
Mistric") wrote:
You must compile PHP with the IBM DB2 support. Add this to your
configure statement:
--with-ibm-db2=/usr/IBMdb2/V6.1 ( or path of your db2 client ).
You should then be able to use all the odbc_* functions.
Jeff
> HI I have IBM DB2 (DB Server) server on one machine and Apache
> 1.3.12/PHP4 (Web Server) on another machine... On Web Server I installed
> Client Application Enabeler for DB2 and I can connect to remote DB
> Server fine using db2 shell... However my PHP Script is giving me Errors
> (SQLConnect errors)....
>
> Does anyone have this combination working??? ODBC Functions do not have
> an option where you can specify hostname:port to connect only a DSN:((((
>
> Please help Amir
>
>
>