PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I'm having a little bit of problem connecting to Oracle 9i Database from another server. I'm using Fedora Core 2, PHP Version 4.3.4, Apache2. Ive tried connecting ocilogon function but nothing happens. The result of the code is blank.
In all the examples on http://uk2.php.net/ocilogon there appears to be an ADDRESS_LIST directive as part of the $db string.. Not sure if thats relevent though, I've not used Oracle before.
Suppose to be would print something on my screen, right? Something like an error message or something but, running the code only gives me a blank screen. I'm aware of that configuration. Thanks anyways! All I want to know is there something i need to do first before i can use oci functions, I've checked out my phpinfo and oci function is enabled. Is it on my php or apache. Just a reminder m trying to connect to the non-local Oracle server .
According to my phpinfo under DBX >> supported databases >> Oracle >> dbx support enabled. So it means my version of php supports oracle connections, right? What do I need to do to make ocilogon function work on my PHP?
Do you have the Oracle client installed on the web server? That's required. I am not to sure about enabling the extensions on a linux machine, when I connected to oracle I just compiled php with a command line switch pointing to the Oracle install.
Your other option is to use odbc, but I think you'd still need the oracle client installed.
I've already installed the oracle client on my webserver but I have no idea on how to configure the Oracle client on my webserver. Also I've already compiled my php with Oracle extension support. How can I canfigure my oracle client??