Re: Oracle to MySQL
| From: | Philippe Saladin | Date: | Thu, 20 Feb 2003 08:09:13 +0000 |
| Subject: | Re: Oracle to MySQL | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-136321@lists.php.net to get a copy of this message | ||
> I'm recalling this from memory, and I may not be 100% right, but it
> should put you on the right path. You will need to install the Oracle
> client libraries on the box with php (you can find these on the Oracle
> discs used to install the actual database).
Yes
> correctly, the Oracle discs will be for a specific OS, so if the db
> isn't on OS X, the client libraries for OS X won't be on there. If you
> can find the libraries for OS X, and get them installed,
www.otn.oracle.com ?
> to recompile php with Oracle support...."--with-oci8", or the other
> option (I can't remember what it is ( "--with-oracle"?, and this depends
> on the version of the Oracle DB you have).
--with-oci8 is the good one. used for both oracle 7 and oracle 8 (and oracle
9?). With that, you will use the php oci* functions (ocilogon, etc. See
http://www.php.net/manual/en/ref.oci8.php)
--with-oracle is older, and only for oracle 7. this is for php ora*
functions (ora_logon, etc.). IMHO, you can forget them.
Regards,
Philippe