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

Paul Jones\' Blog: Solar - Modified Testing Strategy

Builder.com: Get the correct time by converting between time zones with PHP and PEAR

Community News: Latest PEAR Releases for 12.31.2007

Community News: Latest PECL Releases for 12.05.2006

TopWebNews.com: Web Services and PHP


Community Events











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


podcast functional tool testing release object phpunit application unittest example code community zendframework2 introduction series development language interview opinion framework

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