954,604 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

php Oracle connection code

Hi,
I installed wamp server and oracle 9i ,both are running . Oracle having user id,password and host string , using these how can I connect to retrieve data from Oracle ?
thanks in advance , very urgent
Subrata

subrata_ushasi
Junior Poster in Training
52 posts since Aug 2008
Reputation Points: 10
Solved Threads: 5
 
pritaeas
Posting Expert
Moderator
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
 

Hi Pritaeas ,
this didn't work. error given as :"Call to undefined function oci_connect()"
Subrata

subrata_ushasi
Junior Poster in Training
52 posts since Aug 2008
Reputation Points: 10
Solved Threads: 5
 

Make sure you have the oci extension enabled, see the manual .

pritaeas
Posting Expert
Moderator
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
 

Pritaeas,
I made "extension=oci8.so" in php.ini file then run php but not working
Subrata

subrata_ushasi
Junior Poster in Training
52 posts since Aug 2008
Reputation Points: 10
Solved Threads: 5
 

Did you look at the troubleshooting part in the manual ? Other than that I have no suggestions.

pritaeas
Posting Expert
Moderator
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
 

refer php manual

coolest_987
Light Poster
45 posts since Jun 2006
Reputation Points: 10
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: