View Full Version : PHP and Oracle

09-19-2003, 05:56 PM
Okay here is my problem. I have a oracle database that has all my customer info. Is there a way to connect to this database and create an add, update, search, delete, via a website? I don't want to convert the database over to MYSQL. I am using Dreamweaver MX. Thanx

09-19-2003, 06:21 PM
The Oracle Candy store (http://uk.php.net/oracle)

09-27-2003, 02:48 AM
I'm not really that much of a programmer like most of you. I usually use Dreamweaver MX to do most of my coding. Is there any tutorials you guys might know of that might be a bit easier to understand. I know I have to modify my php set up for it to work with oracle. I am running php 4.2.

I have a linux server (SUSE) that has my oracle 8i database.
I have a linux server (Redhat 9) that is running my webserver, Apache.
server model: php/oracle
I am using Dreamweaver MX to do my web development. now, knowing these things what do I do next interms of set to get a connection to the oracle database. Thanx for you input.

10-01-2003, 08:27 PM
I have tried everything possible to connect to a oracle. I just cann't get it to connect. I think that My php configuratios are wrong. Here is error I get.

"Unable to load dynamic library ' ./php_oci8.dll" - The specified module could not be found.

"Unable to load dynamic library ' ./php_orcale.dll" - The specified module could not be found.

What does that mean?

10-01-2003, 08:37 PM
That it can't find those .dll files. In your php.ini there's a setting that sets the path for the extensions directory which should have come with your php package. Simply point the setting to that directory and if you have those .dll files in there, it should work

10-02-2003, 02:43 AM
Okay I understand so far. Now, i installed php on my desktop (xp pro) IIS 5. c:/php. Where would those dll files be located. That is for my test server. I also installed php on my web server 9apache/redhat 9) where do I look for the dll there?

10-02-2003, 03:00 AM
On your windows OS, it'll be found c:/php/extensions, for linux I have no idea where it'll be as I couldn't find anything like that when I had mandrake.

10-02-2003, 03:06 AM
I looked in C:/php/ I don't even have extentions directory. When I installed php I used the win installer version. i don't think it installed any extentions. Should I uninstall PHP and reinstall it. If so, what do i need to download to get oracle support?

10-02-2003, 03:10 AM
Ahh ok. No, no need to uninstall it or anything. Download the zip file with everything included, it's just above the wininstall link on php.net. Then simply unzip it to your c:/php directory and that *should* then work. If not, you'll prolly need to manually install it, which doesn't take long at all, 10 mins at the most.