Re: [PDO] PDO_OCI
[email protected] (Christopher Jones) Wed, 30 Mar 2011 11:46:25 -0700
| Newsgroups | php.pdo |
|---|---|
| Message-ID | <[email protected]> |
Hi Goran, How do you set LD_LIBRARY_PATH in the Apache environment? If you're using the system Apache, try setting it in /etc/apache2/envvars. Or do you use ld.so.conf? See "Setting Oracle Environment Variables for Apache" on p 106 of http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html I strongly suggest using OCI8 instead of the still "experimental" PDO_OCI. OCI8 has a bunch more basic + advanced features and is stable. The PDO_OCI from PECL is older than in the PHP 5.3 bundles. Since you're on a non-RPM system, you're using the Instant Client zips? You shouldn't need to patch PHP 5.3 config.m4 for the zip files. FWIW yesterday Felipe merged a patch to PDO_OCI config.m4 for 64bit RPM support. http://bugs.php.net/44989 Chris On 03/30/2011 05:15 AM, Goran Miskovic wrote: > Hi all, > After applying patch given in #39312 <http://bugs.php.net/bug.php?id=39312>, and correcting PHP paths (cumulative patch attached) I complied PDO_OCI on Ubuntu 10.10 x64 without any errors. > However, Apache is failing to start with following error: symbol lookup error: /usr/lib/php5/20090626/pdo_oci.so: undefined symbol: OCIEnvCreate > Help will be highly appreciated. > Thanks, > > -- > schkovich > PHP Dojo <http://phpdojo.blogspot.com/> > > #39312 http://bugs.php.net/bug.php?id=39312 > -- Email: [email protected] Tel: +1 650 506 8630 Blog: http://blogs.oracle.com/opal/