Forum Moderators: bakedjake
At first, I'd like to say that this question is not just about PHP, because I'd like to know how to install the Oracle client for Linux.
I've already searched for using a script on Linux to connect a remote Oracle, but I didn't find anything clear enough explaining this. I've even tried the long method using Java for an access to the database and then I would use PHP to treat the results. But even in Java I couldn't do it. I installed the J2SDK here and the classes12.zip is already in my pc. But I don't know where I should put this file and there are people saying that I have to set some environment variables, and everything turned to black for me... :)
Can somebody help me on it? I want to connect a remote Oracle (this database is in oooooother machine, far away from here, and the OS there is WindowsNT) from a PHP script. If there's no way of doing it, or if this is much more difficult than doing by Java, then I would just want to know how I can connect from Java. If I could run a test-program in Java that can connect the remote database, I would be ok. But at first I would prefer the PHP directly.
Thanks everybody who at least read it...
Thales Medeiros.
PHP Oracle interface documentation. It looks like you may need to have Oracle for your platform installed at compile-time to use these functions. Someplace, I have a disk with a free evaluation version of Oracle on it, from several years ago. I have no idea if such a thing is still available, and if so whether it would work for this purpose.
If you just want to be able to look at the databases yourself, I *think* Tora will do the trick, though I don't know if it has any simillar compile-time needs to connect to Oracle.
I have already seen the PHP and Oracle reference in the PHP manual, but there's nothing in good explain there. It just says that I need the Oracle8 client libraries, but I didn't find them for Linux.
Does anybody have any idea?
Thanks, dingman!
Thales Medeiros.