Re: PHP 5.6.1 and OCI8 Extension question

From: Date: Fri, 21 Nov 2014 18:07:03 +0000
Subject: Re: PHP 5.6.1 and OCI8 Extension question
References: 1 2  Groups: php.install 
Request: Send a blank email to php-install+get-20377@lists.php.net to get a copy of this message
On 11/21/2014 11:48 AM, christopher jones wrote:
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 That worked, thanks.


« previous php.install (#20377) next »