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
I strongly suggest using OCI8 instead of the still "experimental"
PDO_OCI. OCI8 has a bunch more basic + advanced features and is
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
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.
> PHP Dojo <http://phpdojo.blogspot.com/>
> #39312 http://bugs.php.net/bug.php?id=39312
Tel: +1 650 506 8630