Board index   FAQ   Search  
Register  Login
Board index php forum :: Database Other Database Engines

----- PHP Connect to Remote Oracle DB----- Please HELP

Do you have questions regarding other database enginges (not MySQL) -- ask here!

Moderators: macek, egami, gesf

----- PHP Connect to Remote Oracle DB----- Please HELP

Postby EMCVelocity » Thu Jun 16, 2011 11:12 am

http://us.php.net/manual/en/oci8.installation.php

Following this tutorial, I have done these:

1. Downloaded Oracle Instant Client. Added the path.
2. OCI8 was installed when I install Wamp. I uncommitted the line in php.ini.
3. Restarted the whole wamp.

----The problem now seems to be OCI8 was not configured correctly so I got the error "Call to undefined function oci_connect() ".

I am guessing I need to install Instant Client correctly in order to use OCI8. In this instruction, it says:

./configure --with-oci8=shared,instantclient,/path/to/instant/client/lib


But where do I type this? What am I missing?
EMCVelocity
New php-forum User
New php-forum User
 
Posts: 2
Joined: Thu Jun 16, 2011 10:54 am

Re: ----- PHP Connect to Remote Oracle DB----- Please HELP

Postby johnj » Fri Jun 17, 2011 1:04 am

you should do this from the command prompt of path/to/instant/client/lib
johnj
php-forum Super User
php-forum Super User
 
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm

Re: ----- PHP Connect to Remote Oracle DB----- Please HELP

Postby EMCVelocity » Fri Jun 17, 2011 8:58 am

johnj wrote:you should do this from the command prompt of path/to/instant/client/lib


Thanks.

But where is path? I unzip the Instant Client but there is no folder under it called "path" or "to" or "instant" or "client" or "lib".

Could you please be more specific?

Thanks!
EMCVelocity
New php-forum User
New php-forum User
 
Posts: 2
Joined: Thu Jun 16, 2011 10:54 am


Return to Other Database Engines

Who is online

Users browsing this forum: No registered users and 0 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron