Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP Oracle connection

Status
Not open for further replies.

tonedef

Programmer
May 24, 1999
64
US
I'm having a proplem getting my PHP installation to talk to Oracle. I have been running Win2K/Apache/PHP for a while and talking to MySQL. The client has an Oracle database that they would like to get some information from for the web site. They installed the Oracle Client software on the server. I uncommented the Oracle extensions (tried the old and the oci) in my php.ini file. I then double checked the extensions directory path to make sure it was correct and that the dlls were actually in it. I restarted the Apache service via NET STOP APACHE and restarted it via NET START APACHE at the command line. Using phpinfo() I don't see any Oracle information. Also if I try to use the logon from either the old or oci versions I get Fatal Error: call to undefined funcion...

Any help would be appreciated.

Thanks,

Tone
 
You need to recompile php to add Oracle support, using either [tt]--with-oracle=[DIR][/tt] or [tt]--with-oci8=[DIR][/tt], replacing [DIR] with the path to the oracle DLL's.

I am not sure how to do this on Win2k, but I would poke around the php site for instructions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top