Re: php and Oracle client on mac

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




Ahmed,

Since you already have the Oracle client installed, I am assuming you can connect to the Oracle instance using sqlplus.  If this is in fact the case, all you have to do is recompile PHP and add in the following line to your configure statement:

        with-oci8=instantclient,/usr/local/oracle/instantclient_10_2 \

Of course, your path would be different as it should point to the location of your Oracle client installation.

Jesse

Jesse Santana
Project Lead - Enterprise Services Group
Information Technology Services
California State University, Long Beach
1250 Bellflower Blvd.
Long Beach, CA  90840
Office: (562)985-8511
Fax:     (562)985-8855



From: ahmed nabel <a_n_alazzawi@xxxxxxxxxxx>
To: <php-install@xxxxxxxxxxxxx>
Date: 06/06/2008 07:21 AM
Subject: php and Oracle client on mac






Hello there

I have a Mac OS X 10.5.2 on which php and Apache are installed and running (which come by default with company installation, but after enabling the php).

What I need to do is to develop some php code which access a remote database server of Oracle (on which I have an account).

I have Oracle client 10 downloaded on my machine.

As far as I knew I have to set some environment variables as well as recompile the php??

Can anyone please help by as much detailed instructions as possibole please as I have totally no idea of what I should do?

Thank you very much for your time and support.

Best.
_________________________________________________________________

http://clk.atdmt.com/UKM/go/msnnkmgl0010000009ukm/direct/01/


[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux