Home  |  Linux  | Mysql  | PHP  | XML
Date:Wed Mar 30 18:46:25 2011
Subject:Re: [PDO] PDO_OCI

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: christopher.jones@oracle.com
Tel: +1 650 506 8630
Blog: http://blogs.oracle.com/opal/
Navigate in group php.pdo at sever news.php.net
Previous Next





  
© No Copyright
You are free to use Anything, but please consult your advocate before doing so as this website
also list content from other sources which may be copyrighted.