Re: PHP an Oracle.
| From: | Jason Cox | Date: | Mon, 21 Aug 2000 19:33:34 +0000 |
| Subject: | Re: PHP an Oracle. | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-2241@lists.php.net to get a copy of this message | ||
On Mon, 21 Aug 2000, you wrote:
> On 2000-08-21, Jorge Sarmiento stated:
>
> } How can I acces an Oracle 8.1R2 Enterprise Database installed in a
> } Windows NT box using PHP 4.0??
> }
> } My PHP 4.0 is installed on a Red Hat 6.2 Linux Box, and is currently
> } configure to have PostgreSQL support, I cannot configure it with Oracle
> } Support cause there is no Oracle directory in my linux (Oracle 8.1 is
> } installed on the NT).
>
> [i really need to get that tutorial published!]
>
> You will need to install Oracle 8i client on your linux box, as php needs
> the client libraries for the OCI functions to work. You'll then be able to
> connect to any 7.x or 8.x database using OCI. Note that if you're running
> apache, you'll need two SetEnv's in your httpd.conf file: TNS_ADMIN and
> ORACLE_HOME. Both of these varables need to be pointing to a LOCAL drive,
> as apache doesn't allow a remote tnsnames.ora file due to security
> reasons, it seems.
>
> Note that I'm writing a quick tutorial for NT/windoze users for getting
> Oracle and PHP running [it is more difficult in windoze], and I'll e.mail
> this list and php-windows with the URL when it is ready.
>
> HTH,
>
> /vjl/
Isn't there anyway to Install oracle support without having to install the
oracle client? On linux, I believe the oracle client install requires xwindows
and we don't install xwindows on our webservers. Is there somewhere I can jsut
download the required oracle libraries?
Jason