Re: PHP 5.6.1 and OCI8 Extension question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]





On 11/21/14, 6:16 AM, Jorge F. Hernandez wrote:
Hey guys,

I just compiled oci8 and pdo_oci for *PHP 5.6.1* to add to my PHP because it didn't come with my linux distro, but I'm getting this:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/extensions/oci8.so' - libnnz11.so: cannot open shared object file: No such
file or directory in Unknown on line 0

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/extensions/pdo_oci.so' - libnnz11.so: cannot open shared object file: No
such file or directory in Unknown on line 0

I compiled it using the libraries from Oracle 11g Express, which is what I have on my Linux.

What can cause that?

Thanks,

Try setting LD_LIBRARY_PATH in the appropriates places e.g.
/etc/sysconfig/httpd or /etc/apache2/envvars

See "Setting the Oracle Environment for PHP on Linux" on p 77 in
See http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html

--
christopher.jones@xxxxxxxxxx  http://twitter.com/ghrd




[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux