News Feed
Jobs Feed
Sections




News Archive
Bshensky's LiveJournal:
Oracle Support without a Recompile
June 07, 2006 @ 06:07:57

One struggle seems to come up over and over again for several PHP developers out there - Oracle issues. Newsgroups and message boards are filled with questions and, sometimes, a few answers. bshensky is one such user - but one that found a way to get the PEAR DB package to connect to Oracle simply and without the usual recompile it would take to get the Oracle drivers successfully installed.

I have spent a dog's age researching how to get my local PHP install to talk to Oracle using PEAR and the OCI8 client stack on my Fedora Core 4 server. I eventually came to the conclusion that it was just not possible to get OCI8 to work with a RPM(binary)-install of PHP, and I looked toward other means of getting "Web access" to Oracle using different means.

Today, I found an interesting document on the Oracle Web site that allegedly details how to get the new PECL PDO database drivers for Oracle running on PHP 5 (luckily, I run PHP 5 on my FC4 box).

The document claimed that you could use PDO to load a database driver on the fly without the need for a recompile. All bshensky saw left to do was getting PDO installed (via PEAR) and getting it to pick up on the Oracle libraryes to help make the connection. A few quick commands and environment variables later, he had a complete and working PHP install with Oracle functionality called on the fly.

0 comments voice your opinion now!
oracle support libraries pdo recompile pear pecl oracle support libraries pdo recompile pear pecl


blog comments powered by Disqus

Similar Posts

Greg Beaver's Blog: Pyrus, PEAR2 and web code coverage report for phpt-based tests

Timothy Boronczyk's Blog: Avoid Fetch-Object Abuse

Pierre-Alain Joye's Blog: zip 1.8.0 can add empty dir, php6 zip initial unicode support

Kore Nordmann's Blog: Installing cairo_wrapper on Gentoo

Harun Yayli's Blog: oci_bind_by_name maxlength is not so optional


Community Events











Don't see your event here?
Let us know!


testing phpunit development framework introduction language release community interview podcast opinion functional api composer code example application zendframework2 database series

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework