paragkalra Posted May 26, 2010 Share Posted May 26, 2010 Hey All, This for the first time I want to connect Oracle DB (10g) using PHP. So far I have been doing it using Perl What are the pre-requisites - Like which version of PHP, any driver etc. My Oracle DB is located remotely. To start off with I want to fetch some rows on Windows and then move to Unix. Hence I would also need the prequisites for Unix as well (Solaris). Quote Link to comment Share on other sites More sharing options...
mits Posted June 3, 2010 Share Posted June 3, 2010 My next project will involve using an Oracle DB with PHP instead of the usual MySQL. I've read a little about PHP and Oracle and so far I have done the following. 1) Installed Oracle 10g express 2) Downloaded Oracle Instant Client As far as i'm aware, i need to do the following; 1) Add the path of the Instant Client to the windows PATH 2) uncomment the OCI8 library in the php.ini file under extensions. and hopefully all should be fine! is there anything else I will need to do to configure PHP with Oracle? I'm going to go via http://www.oracle.com/technology/pub/notes/technote_php_instant.html ...and hope for the best! Quote Link to comment Share on other sites More sharing options...
mits Posted June 8, 2010 Share Posted June 8, 2010 well i got oracle working with php using the above instructions. install oracle on your local machine if needed download instant client add the instant client directory to windows path enable oci8 in the php.ini file ...and you should be good to go Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.