Re: PHP vs. 2 database softwares
| From: | Andreas Karajannis | Date: | Tue, 02 Oct 2001 10:45:08 +0000 |
| Subject: | Re: PHP vs. 2 database softwares | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-12912@lists.php.net to get a copy of this message | ||
Scott Fletcher wrote:
Do you meant to say that it took me several days to figure out that PHP doesn't support multiple databases? PHP said it will work with almost any databases but it failed to meant to say that only "with" one databases, but not multiple databases at the same time.PHP will work with multiple databases, as long as you don't try to use any of the uodbc based flavors together (Solid, Empress ,iODBC, unixODBC, Easysoft OOB, OpenLink, Adabas D, Velocis, DBMaker, SAP DB and IBM DB2). If you need to connect to multiple ODBC databases, use a driver manager such as iODBC or unixODBC and the appropriate ODBC driver.
Never mind the problem. I found that PHP won't use both the "--with-ibm-db2" option and "--with-iobc" option, it only can use one of them.As oulined above, instead of using "--with-ibm-db2" and "--with-iodbc" just use "--with-iodbc" and create a DSN for your DB2 server with iodbc. -Andreas -- Andreas Karajannis mediaworx berlin AG Fon (0 30) 2 75 80 - 266 Fax (0 30) 2 75 80 - 200