Hi All,
I am a new joinee to this group. For the last 10days I am trying my best to configure and run php with oci8. I followed the steps like.
Downloading basic instant client and sdk packages from Solaris site and then creating the required softlinks and setting the ORACLE_HOME
Dowloading oci8-1.3.4 package, phpize it and configuring it.
Adding extension=oci8.so in both the php.ini files.(Apache and php)
When I am restarting the apache server I get the following warning in the logs:
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/oci8.so' - ld.so.1: httpd: fatal:
libnnz11.so: open failed: No such file or directory in Unknown on line 0
But the libnnz11.so file is present in : /opt/oracle/instantclient/libnnz11.so
The OCI8 dir is: /usr/local/src/oci8-1.3.4
My Oracle Home is /opt/oracle/instantclient
The instant client dir contains the following files:
-rw-rw-r-- 1 root root 201 Sep 16 2008 BASIC_README
-rwxrwxr-x 1 root root 21712 Sep 16 2008 adrci
-rwxrwxr-x 1 root root 38956 Sep 16 2008 genezi
lrwxrwxrwx 1 root root 17 Jul 8 11:36 libclntsh.so -> libclntsh.so.11.1
-rwxrwxr-x 1 root root 57901132 Sep 16 2008 libclntsh.so.11.1
-rwxrwxr-x 1 root root 7214400 Sep 16 2008 libnnz11.so
lrwxrwxrwx 1 root root 15 Jul 8 11:36 libocci.so -> libocci.so.11.1
-rwxrwxr-x 1 root root 1887992 Sep 16 2008 libocci.so.11.1
-rwxrwxr-x 1 root root 85114072 Sep 16 2008 libociei.so
-rwxrwxr-x 1 root root 82368 Sep 16 2008 libocijdbc11.so
-rw-rw-r-- 1 root root 1890499 Sep 16 2008 ojdbc5.jar
-rw-rw-r-- 1 root root 1988051 Sep 16 2008 ojdbc6.jar
drwxr-xr-x 4 root root 512 Jul 8 20:03 sdk
Due to this error I am unable to use ocilogon functions in my script. 😕
Please let me know if I missed any steps or if I need to configure anything else.
Also please note I have used the coolstack package to install apache php and mysql.
The Versions for all are as follows:
APACHE=2.2.6
PHP=5.2.4
OCI8=1.3.4
Instant client=11.1.7.0
Appreciate your help in advance....
Regards
Biswa